aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-16 15:01:35 +0300
committerValentin Popov <info@valentineus.link>2020-02-16 15:01:35 +0300
commite0b6ba13a157ec9b14eceda6f31078f669aa9213 (patch)
tree26238e0b5684d38f45adc263022f19896e7c1036
parent1fb28ac1a65d95801f03d2170b1ae493924a55e1 (diff)
downloadeslint-config-e0b6ba13a157ec9b14eceda6f31078f669aa9213.tar.xz
eslint-config-e0b6ba13a157ec9b14eceda6f31078f669aa9213.zip
feat(comments): no-restricted-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 93bb993..bbac89a 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -286,7 +286,7 @@
- [X] "disable-enable-pair"
- [ ] "no-aggregating-enable"
- [ ] "no-duplicate-disable"
-- [ ] "no-restricted-disable"
+- [X] "no-restricted-disable"
- [X] "no-unlimited-disable"
- [X] "no-unused-disable"
- [X] "no-unused-enable"
diff --git a/src/rules/eslint-comments/default.json b/src/rules/eslint-comments/default.json
index a0cea22..30fb348 100644
--- a/src/rules/eslint-comments/default.json
+++ b/src/rules/eslint-comments/default.json
@@ -5,6 +5,9 @@
"allowWholeFile": true
}
],
+ "eslint-comments/no-restricted-disable": [
+ "off"
+ ],
"eslint-comments/no-unlimited-disable": [
"error"
],