diff options
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/default.json | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -216,7 +216,7 @@ - [ ] "no-useless-escape" - [ ] "no-useless-rename" - [ ] "no-useless-return" -- [ ] "no-var" +- [X] "no-var" - [ ] "no-void" - [ ] "no-warning-comments" - [ ] "no-whitespace-before-property" diff --git a/src/rules/default.json b/src/rules/default.json index 905aa50..225e061 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -362,6 +362,9 @@ "vars": "all" } ], + "no-var": [ + "error" + ], "object-curly-newline": [ "error", { |