summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/eslint.json4
2 files changed, 5 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 1e33e5d..c6f9b22 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -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"
],