eslint: report missed TS rules in the shared rules
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 5 Oct 2022 11:56:30 +0000 (13:56 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 5 Oct 2022 11:56:30 +0000 (13:56 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.eslintrc

index adb3c787842e635fb05b958d2b6b69e2d103ef7c..ec06420e381ad286be503c0defd0101e93fedcc5 100644 (file)
--- 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",
         "@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"
       }
     },