diff options
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/eslint.json | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -226,7 +226,7 @@ - [ ] "object-curly-spacing" - [ ] "object-property-newline" - [ ] "object-shorthand" -- [ ] "one-var" +- [X] "one-var" - [ ] "one-var-declaration-per-line" - [ ] "operator-assignment" - [ ] "operator-linebreak" diff --git a/src/rules/eslint.json b/src/rules/eslint.json index 1a79eb6..0498880 100644 --- a/src/rules/eslint.json +++ b/src/rules/eslint.json @@ -60,6 +60,10 @@ "allowIndentationTabs": true } ], + "one-var": [ + "error", + "never" + ], "prefer-reflect": [ "off" ], |