diff --git a/.eslintrc.js b/.eslintrc.js index cc0f11863..639c66700 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -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'], diff --git a/server/database.js b/server/database.js index 2c9b2f653..ec8b8fdf6 100644 --- a/server/database.js +++ b/server/database.js @@ -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;