diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-14 00:16:26 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-14 00:16:26 +0300 |
commit | 53aa29b89a118069299ad2dd1d88df9698e2fe9a (patch) | |
tree | e2395f10629b36608b097514d4ec08eb4de8f8da | |
parent | eb0ee565f9eac8175ee8067fc8db55e749c364a5 (diff) | |
download | eslint-config-53aa29b89a118069299ad2dd1d88df9698e2fe9a.tar.xz eslint-config-53aa29b89a118069299ad2dd1d88df9698e2fe9a.zip |
feat(eslint): Rule "no-mixed-spaces-and-tabs"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/default.json | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -142,7 +142,7 @@ - [ ] "no-misleading-character-class" - [ ] "no-mixed-operators" - [ ] "no-mixed-requires" -- [ ] "no-mixed-spaces-and-tabs" +- [X] "no-mixed-spaces-and-tabs" - [ ] "no-multi-assign" - [X] "no-multi-spaces" - [ ] "no-multi-str" diff --git a/src/rules/default.json b/src/rules/default.json index fb92019..d3b3cb1 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -214,6 +214,10 @@ "ignoreArrayIndexes": false } ], + "no-mixed-spaces-and-tabs": [ + "error", + "smart-tabs" + ], "no-multi-spaces": [ "error", { |