summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 14:52:15 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 14:52:15 +0300
commitb2e832786d4ad2a3147aa3e9a3ba01846b75cca4 (patch)
tree04c8ee25cd3992b25b74fd1389ddc1b845119d58
parentf6794430fc56483d322203d154e38b0d3173cbc3 (diff)
downloadeslint-config-b2e832786d4ad2a3147aa3e9a3ba01846b75cca4.tar.xz
eslint-config-b2e832786d4ad2a3147aa3e9a3ba01846b75cca4.zip
feat(eslint): Rule "no-multi-spaces"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/eslint.json7
2 files changed, 8 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index b803377..3fdd889 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -144,7 +144,7 @@
- [ ] "no-mixed-requires"
- [ ] "no-mixed-spaces-and-tabs"
- [ ] "no-multi-assign"
-- [ ] "no-multi-spaces"
+- [X] "no-multi-spaces"
- [ ] "no-multi-str"
- [ ] "no-multiple-empty-lines"
- [X] "no-native-reassign"
diff --git a/src/rules/eslint.json b/src/rules/eslint.json
index 663c295..48490f1 100644
--- a/src/rules/eslint.json
+++ b/src/rules/eslint.json
@@ -49,6 +49,13 @@
"no-catch-shadow": [
"off"
],
+ "no-multi-spaces": [
+ "error",
+ {
+ "exceptions": {},
+ "ignoreEOLComments": false
+ }
+ ],
"no-native-reassign": [
"off"
],