change no-unused-vars from error to warn

pull/126/head
LouisLam 3 years ago
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…
Cancel
Save