summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 00:16:26 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 00:16:26 +0300
commit53aa29b89a118069299ad2dd1d88df9698e2fe9a (patch)
treee2395f10629b36608b097514d4ec08eb4de8f8da
parenteb0ee565f9eac8175ee8067fc8db55e749c364a5 (diff)
downloadeslint-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.md2
-rw-r--r--src/rules/default.json4
2 files changed, 5 insertions, 1 deletions
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",
{