From f448b3ca98fe12d3a8f3430cfe2c967750be656e Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sun, 16 Feb 2020 16:03:01 +0400 Subject: feat(comments): no-duplicate-disable Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/eslint-comments/default.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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" ], -- cgit v1.2.3