forked from CringeStudios/gamja
eslint: add no-invalid-this and prefer-arrow-callback
This commit is contained in:
parent
f6e8f83d4e
commit
8ff1cd8317
@ -24,6 +24,8 @@ export default [
|
|||||||
}],
|
}],
|
||||||
"no-var": "error",
|
"no-var": "error",
|
||||||
"eqeqeq": "error",
|
"eqeqeq": "error",
|
||||||
|
"no-invalid-this": "error",
|
||||||
|
"prefer-arrow-callback": "error",
|
||||||
"@stylistic/js/indent": ["warn", "tab"],
|
"@stylistic/js/indent": ["warn", "tab"],
|
||||||
"@stylistic/js/quotes": ["warn", "double"],
|
"@stylistic/js/quotes": ["warn", "double"],
|
||||||
"@stylistic/js/semi": "warn",
|
"@stylistic/js/semi": "warn",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user