From 9dd76a6ab4f571a1289a615f671124bf2722de54 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sun, 16 Feb 2020 15:54:21 +0400 Subject: feat(comments): disable-enable-pair Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/eslint-comments/default.json | 9 ++++++++- 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 + } + ] +} -- cgit v1.2.3