forked from CringeStudios/gamja
eslint: add a few more rules
This commit is contained in:
parent
9299f79bab
commit
9dda4ee438
@ -23,11 +23,17 @@ export default [
|
|||||||
destructuredArrayIgnorePattern: "^_",
|
destructuredArrayIgnorePattern: "^_",
|
||||||
}],
|
}],
|
||||||
"no-var": "error",
|
"no-var": "error",
|
||||||
|
"no-eval": "error",
|
||||||
|
"no-implied-eval": "error",
|
||||||
"eqeqeq": "error",
|
"eqeqeq": "error",
|
||||||
"no-invalid-this": "error",
|
"no-invalid-this": "error",
|
||||||
|
"no-extend-native": "error",
|
||||||
"prefer-arrow-callback": "error",
|
"prefer-arrow-callback": "error",
|
||||||
|
"no-implicit-globals": "error",
|
||||||
|
"no-throw-literal": "error",
|
||||||
"no-implicit-coercion": "warn",
|
"no-implicit-coercion": "warn",
|
||||||
"object-shorthand": "warn",
|
"object-shorthand": "warn",
|
||||||
|
"curly": "warn",
|
||||||
"@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