diff options
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/typescript/default.json | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -386,7 +386,7 @@ - [X] "no-unused-vars-experimental" - [ ] "no-use-before-define" - [X] "no-useless-constructor" -- [ ] "no-var-requires" +- [X] "no-var-requires" - [ ] "prefer-as-const" - [ ] "prefer-for-of" - [ ] "prefer-function-type" diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json index 631bdf2..39ea233 100644 --- a/src/rules/typescript/default.json +++ b/src/rules/typescript/default.json @@ -93,6 +93,9 @@ "@typescript-eslint/no-useless-constructor": [ "error" ], + "@typescript-eslint/no-var-requires": [ + "error" + ], "@typescript-eslint/quotes": [ "error", "double", |