diff options
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/eslint-comments/default.json | 16 |
2 files changed, 17 insertions, 1 deletions
@@ -290,7 +290,7 @@ - [ ] "no-unlimited-disable" - [ ] "no-unused-disable" - [ ] "no-unused-enable" -- [ ] "no-use" +- [X] "no-use" ## Import diff --git a/src/rules/eslint-comments/default.json b/src/rules/eslint-comments/default.json index 75f5bad..382e22d 100644 --- a/src/rules/eslint-comments/default.json +++ b/src/rules/eslint-comments/default.json @@ -4,5 +4,21 @@ { "allowWholeFile": true } + ], + "eslint-comments/no-use": [ + "error", + { + "allow": [ + "eslint", + "eslint-disable", + "eslint-disable-line", + "eslint-disable-next-line", + "eslint-enable", + "eslint-env", + "exported", + "global", + "globals" + ] + } ] } |