change no-unused-vars from error to warn

This commit is contained in:
LouisLam 2021-07-28 20:52:49 +08:00
parent 6bce270f42
commit 3666ebb931
2 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@ module.exports = {
rules: {
// override/add rules settings here, such as:
// 'vue/no-unused-vars': 'error'
"no-unused-vars": "warn",
indent: ["error", 4],
quotes: ["warn", "double"],
//semi: ['off', 'never'],

View File

@ -7,7 +7,7 @@ const {setSetting, setting} = require("./util-server");
class Database {
static templatePath = "./db/kuma.db"
static path = './data/kuma.db';
static path = "./data/kuma.db";
static latestVersion = 3;
static noReject = true;