From 04e0fe6a312fc4acdcfab4709726cefc3761e20a Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sun, 16 Feb 2020 15:58:20 +0400 Subject: feat(comments): no-unused-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 8831c4c..bf28d89 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -288,7 +288,7 @@ - [ ] "no-duplicate-disable" - [ ] "no-restricted-disable" - [ ] "no-unlimited-disable" -- [ ] "no-unused-disable" +- [X] "no-unused-disable" - [ ] "no-unused-enable" - [X] "no-use" diff --git a/src/rules/eslint-comments/default.json b/src/rules/eslint-comments/default.json index 382e22d..9867b85 100644 --- a/src/rules/eslint-comments/default.json +++ b/src/rules/eslint-comments/default.json @@ -5,6 +5,9 @@ "allowWholeFile": true } ], + "eslint-comments/no-unused-disable": [ + "error" + ], "eslint-comments/no-use": [ "error", { -- cgit v1.2.3