eslint: add no-invalid-this and prefer-arrow-callback

This commit is contained in:
Simon Ser 2024-11-15 02:18:59 +01:00
parent f6e8f83d4e
commit 8ff1cd8317

View file

@ -24,6 +24,8 @@ export default [
}],
"no-var": "error",
"eqeqeq": "error",
"no-invalid-this": "error",
"prefer-arrow-callback": "error",
"@stylistic/js/indent": ["warn", "tab"],
"@stylistic/js/quotes": ["warn", "double"],
"@stylistic/js/semi": "warn",