From 4195af92661fd070e60b579f7b7308d93bf11e7a Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 5 Oct 2022 13:56:30 +0200 Subject: [PATCH] eslint: report missed TS rules in the shared rules MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .eslintrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index adb3c787..ec06420e 100644 --- a/.eslintrc +++ b/.eslintrc @@ -27,6 +27,7 @@ } }, "rules": { + "semi": ["error", "always"], "space-before-blocks": ["error", "always"], "curly": ["error", "all"], "brace-style": "error", @@ -85,6 +86,7 @@ "no-lonely-if": "error", "no-trailing-spaces": "error", "no-whitespace-before-property": "error", + "no-shadow": "error", "space-in-parens": ["error", "never"], "space-infix-ops": "error", "space-unary-ops": "error", @@ -169,7 +171,7 @@ "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/promise-function-async": "error", "@typescript-eslint/no-misused-promises": "error", - "no-shadow": "off", // This one is generating false positive no-shadow errors on exported/const enums + "no-shadow": "off", "@typescript-eslint/no-shadow": "error" } }, -- 2.34.1