eslint: add extra rules

This commit is contained in:
Simon Ser 2024-11-16 12:59:42 +01:00
parent 2f1bf8a2fe
commit 488e11eddc

View File

@ -26,8 +26,11 @@ export default [
"eqeqeq": "error",
"no-invalid-this": "error",
"prefer-arrow-callback": "error",
"require-atomic-updates": "error",
"no-implicit-coercion": "warn",
"object-shorthand": "warn",
//"sort-imports": ["warn", { ignoreMemberSort: true, allowSeparatedGroups: true }],
//"func-style": ["warn", "declaration"],
"@stylistic/js/indent": ["warn", "tab"],
"@stylistic/js/quotes": ["warn", "double"],
"@stylistic/js/semi": "warn",