Skip to content
eslint-plugin-eslint-comments
Search
K
Main Navigation
Guide
Rules
Appearance
Menu
Return to top
On this page
Available Rules
🌟 mark: the rule which is enabled by
@eslint-community/eslint-comments/recommended
preset.
✒️ mark: the rule which is fixable by
eslint --fix
command.
Best Practices
Rule ID
Description
@eslint-community/eslint-comments/
disable-enable-pair
require a
eslint-enable
comment for every
eslint-disable
comment
🌟
@eslint-community/eslint-comments/
no-aggregating-enable
disallow a
eslint-enable
comment for multiple
eslint-disable
comments
🌟
@eslint-community/eslint-comments/
no-duplicate-disable
disallow duplicate
eslint-disable
comments
🌟
@eslint-community/eslint-comments/
no-unlimited-disable
disallow
eslint-disable
comments without rule names
🌟
@eslint-community/eslint-comments/
no-unused-disable
disallow unused
eslint-disable
comments
@eslint-community/eslint-comments/
no-unused-enable
disallow unused
eslint-enable
comments
🌟
Stylistic Issues
Rule ID
Description
@eslint-community/eslint-comments/
no-restricted-disable
disallow
eslint-disable
comments about specific rules
@eslint-community/eslint-comments/
no-use
disallow ESLint directive-comments
@eslint-community/eslint-comments/
require-description
require include descriptions in ESLint directive-comments
Available Rules
@eslint-community/eslint-comments/recommended
preset.eslint --fix
command.Best Practices
eslint-enable
comment for everyeslint-disable
commenteslint-enable
comment for multipleeslint-disable
commentseslint-disable
commentseslint-disable
comments without rule nameseslint-disable
commentseslint-enable
commentsStylistic Issues
eslint-disable
comments about specific rules