diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 14:52:15 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 14:52:15 +0300 |
commit | b2e832786d4ad2a3147aa3e9a3ba01846b75cca4 (patch) | |
tree | 04c8ee25cd3992b25b74fd1389ddc1b845119d58 | |
parent | f6794430fc56483d322203d154e38b0d3173cbc3 (diff) | |
download | eslint-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.md | 2 | ||||
-rw-r--r-- | src/rules/eslint.json | 7 |
2 files changed, 8 insertions, 1 deletions
@@ -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" ], |