diff options
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/default.json | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -194,7 +194,7 @@ - [ ] "no-throw-literal" - [ ] "no-trailing-spaces" - [ ] "no-undef" -- [ ] "no-undef-init" +- [X] "no-undef-init" - [X] "no-undefined" - [X] "no-underscore-dangle" - [ ] "no-unexpected-multiline" diff --git a/src/rules/default.json b/src/rules/default.json index 62d5ffe..aad6552 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -338,6 +338,9 @@ "no-ternary": [ "off" ], + "no-undef-init": [ + "error" + ], "no-undefined": [ "off" ], |