diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-16 14:58:20 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-16 14:58:20 +0300 |
commit | 04e0fe6a312fc4acdcfab4709726cefc3761e20a (patch) | |
tree | 09536569efb8af1181b9521eb3de189e81063780 | |
parent | 3f111c5b78f1d928f2fe3aee50e5bd48d38ceb98 (diff) | |
download | eslint-config-04e0fe6a312fc4acdcfab4709726cefc3761e20a.tar.xz eslint-config-04e0fe6a312fc4acdcfab4709726cefc3761e20a.zip |
feat(comments): no-unused-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
@@ -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", { |