summaryrefslogtreecommitdiff
path: root/src/rules
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 14:15:37 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 14:15:37 +0300
commita9bbe9301d01b99e33d490fbd46393c35685beda (patch)
tree3dba7d994f5fae785ace586eb5faa7e8d4f4b734 /src/rules
parent50dc1d4fecfc25925cc2301f3fe90b270b0c39a0 (diff)
downloadeslint-config-a9bbe9301d01b99e33d490fbd46393c35685beda.tar.xz
eslint-config-a9bbe9301d01b99e33d490fbd46393c35685beda.zip
feat(eslint): Rule "one-var"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules')
-rw-r--r--src/rules/eslint.json4
1 files changed, 4 insertions, 0 deletions
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"
],