aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-16 14:59:00 +0300
committerValentin Popov <info@valentineus.link>2020-02-16 14:59:00 +0300
commit67756a276deefd6f6811c6ac97c43380331ad653 (patch)
tree57ea2e36ef6bf1ab5099f6fab0aa935aab8acff2
parent04e0fe6a312fc4acdcfab4709726cefc3761e20a (diff)
downloadeslint-config-67756a276deefd6f6811c6ac97c43380331ad653.tar.xz
eslint-config-67756a276deefd6f6811c6ac97c43380331ad653.zip
feat(comments): no-unused-enable
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 bf28d89..3ee7e5d 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -289,7 +289,7 @@
- [ ] "no-restricted-disable"
- [ ] "no-unlimited-disable"
- [X] "no-unused-disable"
-- [ ] "no-unused-enable"
+- [X] "no-unused-enable"
- [X] "no-use"
## Import
diff --git a/src/rules/eslint-comments/default.json b/src/rules/eslint-comments/default.json
index 9867b85..8c594ed 100644
--- a/src/rules/eslint-comments/default.json
+++ b/src/rules/eslint-comments/default.json
@@ -8,6 +8,9 @@
"eslint-comments/no-unused-disable": [
"error"
],
+ "eslint-comments/no-unused-enable": [
+ "error"
+ ],
"eslint-comments/no-use": [
"error",
{