From: Jérôme Benoit Date: Wed, 5 Oct 2022 11:56:30 +0000 (+0200) Subject: eslint: report missed TS rules in the shared rules X-Git-Tag: v1.1.78~2 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=4195af92661fd070e60b579f7b7308d93bf11e7a;p=e-mobility-charging-stations-simulator.git eslint: report missed TS rules in the shared rules Signed-off-by: Jérôme Benoit --- 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" } },