Skip to content

Commit

Permalink
feat: don't require descriptions for eslint-enable comments (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
10xLaCroixDrinker authored Oct 23, 2024
1 parent b9e9c77 commit 0f1ea18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ module.exports = {
// open a PR per rule change

// record why the directive is seen to be justified
'eslint-comments/require-description': ['error'],
'eslint-comments/require-description': ['error', { ignore: ['eslint-enable'] }],
// remove out of date directives, ensure the directive is used where it should be
'eslint-comments/no-unused-disable': ['error'],

Expand Down

0 comments on commit 0f1ea18

Please sign in to comment.