aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 13:40:47 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 13:40:47 +0300
commitbef8d52a776912dfa9960a2672fc220cdec46ae8 (patch)
tree6551c87f6ed259b2efc915c58919decbb5a5fac9
parent4416cd11f6570404c3f039f683502a9058b9684c (diff)
downloadeslint-config-bef8d52a776912dfa9960a2672fc220cdec46ae8.tar.xz
eslint-config-bef8d52a776912dfa9960a2672fc220cdec46ae8.zip
Rule "no-tabs"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/eslint.json9
2 files changed, 9 insertions, 2 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 8fdb469..9b49ea5 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -187,7 +187,7 @@
- [ ] "no-spaced-func"
- [ ] "no-sparse-arrays"
- [ ] "no-sync"
-- [ ] "no-tabs"
+- [X] "no-tabs"
- [ ] "no-template-curly-in-string"
- [ ] "no-ternary"
- [ ] "no-this-before-super"
diff --git a/src/rules/eslint.json b/src/rules/eslint.json
index 0967ef4..531f091 100644
--- a/src/rules/eslint.json
+++ b/src/rules/eslint.json
@@ -1 +1,8 @@
-{}
+{
+ "no-tabs": [
+ "error",
+ {
+ "allowIndentationTabs": true
+ }
+ ]
+}