summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-16 15:00:14 +0300
committerValentin Popov <info@valentineus.link>2020-02-16 15:00:14 +0300
commit1fb28ac1a65d95801f03d2170b1ae493924a55e1 (patch)
tree5ef6e66a363f8f37df632030baaa0626910dbd20
parent67756a276deefd6f6811c6ac97c43380331ad653 (diff)
downloadeslint-config-1fb28ac1a65d95801f03d2170b1ae493924a55e1.tar.xz
eslint-config-1fb28ac1a65d95801f03d2170b1ae493924a55e1.zip
feat(comments): no-unlimited-disable
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/eslint-comments/default.json3
2 files changed, 4 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 3ee7e5d..93bb993 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -287,7 +287,7 @@
- [ ] "no-aggregating-enable"
- [ ] "no-duplicate-disable"
- [ ] "no-restricted-disable"
-- [ ] "no-unlimited-disable"
+- [X] "no-unlimited-disable"
- [X] "no-unused-disable"
- [X] "no-unused-enable"
- [X] "no-use"
diff --git a/src/rules/eslint-comments/default.json b/src/rules/eslint-comments/default.json
index 8c594ed..a0cea22 100644
--- a/src/rules/eslint-comments/default.json
+++ b/src/rules/eslint-comments/default.json
@@ -5,6 +5,9 @@
"allowWholeFile": true
}
],
+ "eslint-comments/no-unlimited-disable": [
+ "error"
+ ],
"eslint-comments/no-unused-disable": [
"error"
],