From 9dda4ee43807efa9c6a2199788009ece5aa06c73 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 20 Jan 2025 23:02:23 +0100 Subject: [PATCH] eslint: add a few more rules --- eslint.config.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/eslint.config.js b/eslint.config.js index d25ca6a..a905f77 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -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",