mirror of
https://codeberg.org/emersion/gamja
synced 2025-03-12 15:33:47 +01:00
eslint: add a few more rules
This commit is contained in:
parent
9299f79bab
commit
9dda4ee438
@ -23,11 +23,17 @@ export default [
|
||||
destructuredArrayIgnorePattern: "^_",
|
||||
}],
|
||||
"no-var": "error",
|
||||
"no-eval": "error",
|
||||
"no-implied-eval": "error",
|
||||
"eqeqeq": "error",
|
||||
"no-invalid-this": "error",
|
||||
"no-extend-native": "error",
|
||||
"prefer-arrow-callback": "error",
|
||||
"no-implicit-globals": "error",
|
||||
"no-throw-literal": "error",
|
||||
"no-implicit-coercion": "warn",
|
||||
"object-shorthand": "warn",
|
||||
"curly": "warn",
|
||||
"@stylistic/js/indent": ["warn", "tab"],
|
||||
"@stylistic/js/quotes": ["warn", "double"],
|
||||
"@stylistic/js/semi": "warn",
|
||||
|
Loading…
x
Reference in New Issue
Block a user