diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-16 14:56:52 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-16 14:56:52 +0300 |
commit | 3f111c5b78f1d928f2fe3aee50e5bd48d38ceb98 (patch) | |
tree | 3d2feb8f805952b6a0d332eab40831f4e1c84602 /src | |
parent | 9dd76a6ab4f571a1289a615f671124bf2722de54 (diff) | |
download | eslint-config-3f111c5b78f1d928f2fe3aee50e5bd48d38ceb98.tar.xz eslint-config-3f111c5b78f1d928f2fe3aee50e5bd48d38ceb98.zip |
feat(comments): no-use
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r-- | src/rules/eslint-comments/default.json | 16 |
1 files changed, 16 insertions, 0 deletions
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" + ] + } ] } |