Skip to content

Commit 9dda4ee

Browse files
committed
eslint: add a few more rules
1 parent 9299f79 commit 9dda4ee

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

eslint.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,17 @@ export default [
2323
destructuredArrayIgnorePattern: "^_",
2424
}],
2525
"no-var": "error",
26+
"no-eval": "error",
27+
"no-implied-eval": "error",
2628
"eqeqeq": "error",
2729
"no-invalid-this": "error",
30+
"no-extend-native": "error",
2831
"prefer-arrow-callback": "error",
32+
"no-implicit-globals": "error",
33+
"no-throw-literal": "error",
2934
"no-implicit-coercion": "warn",
3035
"object-shorthand": "warn",
36+
"curly": "warn",
3137
"@stylistic/js/indent": ["warn", "tab"],
3238
"@stylistic/js/quotes": ["warn", "double"],
3339
"@stylistic/js/semi": "warn",

0 commit comments

Comments
 (0)