mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-24 06:49:41 -05:00
change no-unused-vars from error to warn
This commit is contained in:
parent
6bce270f42
commit
3666ebb931
@ -16,6 +16,7 @@ module.exports = {
|
|||||||
rules: {
|
rules: {
|
||||||
// override/add rules settings here, such as:
|
// override/add rules settings here, such as:
|
||||||
// 'vue/no-unused-vars': 'error'
|
// 'vue/no-unused-vars': 'error'
|
||||||
|
"no-unused-vars": "warn",
|
||||||
indent: ["error", 4],
|
indent: ["error", 4],
|
||||||
quotes: ["warn", "double"],
|
quotes: ["warn", "double"],
|
||||||
//semi: ['off', 'never'],
|
//semi: ['off', 'never'],
|
||||||
|
@ -7,7 +7,7 @@ const {setSetting, setting} = require("./util-server");
|
|||||||
class Database {
|
class Database {
|
||||||
|
|
||||||
static templatePath = "./db/kuma.db"
|
static templatePath = "./db/kuma.db"
|
||||||
static path = './data/kuma.db';
|
static path = "./data/kuma.db";
|
||||||
static latestVersion = 3;
|
static latestVersion = 3;
|
||||||
static noReject = true;
|
static noReject = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user