From b2e832786d4ad2a3147aa3e9a3ba01846b75cca4 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 15:52:15 +0400 Subject: feat(eslint): Rule "no-multi-spaces" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/eslint.json | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) 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" ], -- cgit v1.2.3