diff --git a/template.localdb.json b/config/template.localdb.json similarity index 100% rename from template.localdb.json rename to config/template.localdb.json diff --git a/eslint.config.mjs b/dev_config/eslint.config.mjs similarity index 80% rename from eslint.config.mjs rename to dev_config/eslint.config.mjs index b46f86c..49bfa56 100644 --- a/eslint.config.mjs +++ b/dev_config/eslint.config.mjs @@ -20,6 +20,11 @@ export default defineConfig([{ "linebreak-style": ["error", "unix"], quotes: ["error", "double"], semi: ["error", "always"], - "brace-style": ["error", "stroustrup", { allowSingleLine: false }] + "brace-style": ["error", "stroustrup", { allowSingleLine: false }], + "no-unused-vars": ["warn", { + "argsIgnorePattern": "^_", + "varsIgnorePattern": "^_", + "caughtErrorsIgnorePattern": "^_" + }] } }]); diff --git a/package.json b/package.json index 7a93a6c..92a5e56 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,6 @@ "globals": "^17.4.0" }, "scripts": { - "lint": "npx eslint . --fix" + "lint": "DEBUG=eslint:cli-engine eslint --config dev_config/eslint.config.mjs --fix ." } }