From 53aa29b89a118069299ad2dd1d88df9698e2fe9a Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 01:16:26 +0400 Subject: feat(eslint): Rule "no-mixed-spaces-and-tabs" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/default.json | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index 818aaad..4eb18a3 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -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", { -- cgit v1.2.3