summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-16 14:58:20 +0300
committerValentin Popov <info@valentineus.link>2020-02-16 14:58:20 +0300
commit04e0fe6a312fc4acdcfab4709726cefc3761e20a (patch)
tree09536569efb8af1181b9521eb3de189e81063780
parent3f111c5b78f1d928f2fe3aee50e5bd48d38ceb98 (diff)
downloadeslint-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.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 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",
{