diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-16 15:03:01 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-16 15:03:01 +0300 |
commit | f448b3ca98fe12d3a8f3430cfe2c967750be656e (patch) | |
tree | bae52fa6913a5c76097b5f94d92ca1370e483526 | |
parent | e0b6ba13a157ec9b14eceda6f31078f669aa9213 (diff) | |
download | eslint-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.md | 2 | ||||
-rw-r--r-- | src/rules/eslint-comments/default.json | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -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" ], |