mirror of
https://codeberg.org/emersion/gamja.git
synced 2025-04-21 10:00:52 -04:00
eslint: add a few more rules
This commit is contained in:
parent
9299f79bab
commit
9dda4ee438
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue