From 3f111c5b78f1d928f2fe3aee50e5bd48d38ceb98 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sun, 16 Feb 2020 15:56:52 +0400 Subject: feat(comments): no-use Signed-off-by: Valentin Popov --- src/rules/eslint-comments/default.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/rules') 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" + ] + } ] } -- cgit v1.2.3