aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/eslint-comments/default.json9
2 files changed, 9 insertions, 2 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 49f21b1..0478520 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -283,7 +283,7 @@
## ESLint Comments
-- [ ] "disable-enable-pair"
+- [X] "disable-enable-pair"
- [ ] "no-aggregating-enable"
- [ ] "no-duplicate-disable"
- [ ] "no-restricted-disable"
diff --git a/src/rules/eslint-comments/default.json b/src/rules/eslint-comments/default.json
index 0967ef4..75f5bad 100644
--- a/src/rules/eslint-comments/default.json
+++ b/src/rules/eslint-comments/default.json
@@ -1 +1,8 @@
-{}
+{
+ "eslint-comments/disable-enable-pair": [
+ "error",
+ {
+ "allowWholeFile": true
+ }
+ ]
+}