diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-16 14:54:21 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-16 14:54:21 +0300 |
commit | 9dd76a6ab4f571a1289a615f671124bf2722de54 (patch) | |
tree | c6fb1770ce78f4a47db691f69af414755e72eefa | |
parent | fee0f21f2fdfa12019b9fc4b4d82630d7412cd28 (diff) | |
download | eslint-config-9dd76a6ab4f571a1289a615f671124bf2722de54.tar.xz eslint-config-9dd76a6ab4f571a1289a615f671124bf2722de54.zip |
feat(comments): disable-enable-pair
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/eslint-comments/default.json | 9 |
2 files changed, 9 insertions, 2 deletions
@@ -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 + } + ] +} |