aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-16 15:03:01 +0300
committerValentin Popov <info@valentineus.link>2020-02-16 15:03:01 +0300
commitf448b3ca98fe12d3a8f3430cfe2c967750be656e (patch)
treebae52fa6913a5c76097b5f94d92ca1370e483526
parente0b6ba13a157ec9b14eceda6f31078f669aa9213 (diff)
downloadeslint-config-f448b3ca98fe12d3a8f3430cfe2c967750be656e.tar.xz
eslint-config-f448b3ca98fe12d3a8f3430cfe2c967750be656e.zip
feat(comments): no-duplicate-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 bbac89a..1b8a200 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -285,7 +285,7 @@
- [X] "disable-enable-pair"
- [ ] "no-aggregating-enable"
-- [ ] "no-duplicate-disable"
+- [X] "no-duplicate-disable"
- [X] "no-restricted-disable"
- [X] "no-unlimited-disable"
- [X] "no-unused-disable"
diff --git a/src/rules/eslint-comments/default.json b/src/rules/eslint-comments/default.json
index 30fb348..b41b3fa 100644
--- a/src/rules/eslint-comments/default.json
+++ b/src/rules/eslint-comments/default.json
@@ -5,6 +5,9 @@
"allowWholeFile": true
}
],
+ "eslint-comments/no-duplicate-disable": [
+ "error"
+ ],
"eslint-comments/no-restricted-disable": [
"off"
],