Updated eslint

This commit is contained in:
2024-01-04 16:58:43 +01:00
parent b35856c6e9
commit e12ae8774b

View File

@@ -46,14 +46,7 @@ module.exports = {
"error", "error",
"never" "never"
], ],
"no-unused-vars": [ "no-unused-vars": "off",
"warn",
{
"vars": "all",
"args": "after-used",
"ignoreRestSiblings": false
}
],
"prefer-const": "warn", "prefer-const": "warn",
"no-var": "error", "no-var": "error",
"no-multiple-empty-lines": ["error", { "max": 2, "maxEOF": 1, "maxBOF": 0 }], "no-multiple-empty-lines": ["error", { "max": 2, "maxEOF": 1, "maxBOF": 0 }],
@@ -69,6 +62,14 @@ module.exports = {
}], }],
"comma-spacing": "error", "comma-spacing": "error",
"@typescript-eslint/no-var-requires": "off", "@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-explicit-any": "off" "@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": [
"warn",
{
"vars": "all",
"args": "after-used",
"ignoreRestSiblings": false
}
],
} }
} }