update configs
This commit is contained in:
@@ -20,6 +20,11 @@ export default defineConfig([{
|
|||||||
"linebreak-style": ["error", "unix"],
|
"linebreak-style": ["error", "unix"],
|
||||||
quotes: ["error", "double"],
|
quotes: ["error", "double"],
|
||||||
semi: ["error", "always"],
|
semi: ["error", "always"],
|
||||||
"brace-style": ["error", "stroustrup", { allowSingleLine: false }]
|
"brace-style": ["error", "stroustrup", { allowSingleLine: false }],
|
||||||
|
"no-unused-vars": ["warn", {
|
||||||
|
"argsIgnorePattern": "^_",
|
||||||
|
"varsIgnorePattern": "^_",
|
||||||
|
"caughtErrorsIgnorePattern": "^_"
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
+1
-1
@@ -23,6 +23,6 @@
|
|||||||
"globals": "^17.4.0"
|
"globals": "^17.4.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "npx eslint . --fix"
|
"lint": "DEBUG=eslint:cli-engine eslint --config dev_config/eslint.config.mjs --fix ."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user