Skip to content

Commit

Permalink
feat!: eslint-comments/no-unused-enable
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Nov 23, 2024
1 parent 478c12e commit 3232076
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/plugin-usage/eslint-comments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const usage: PluginUsage = {
'no-aggregating-enable': ['error'],
'no-duplicate-disable': ['error'],
'no-unlimited-disable': ['error'],
'no-unused-enable': ['error'],
'require-description': [
'error',
{
Expand Down
1 change: 1 addition & 0 deletions src/test/_expected-exported-value.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export const expectedEslintCommentsRules: Record<
'eslint-comments/no-aggregating-enable': ['error'],
'eslint-comments/no-duplicate-disable': ['error'],
'eslint-comments/no-unlimited-disable': ['error'],
'eslint-comments/no-unused-enable': ['error'],
'eslint-comments/require-description': [
'error',
{
Expand Down
5 changes: 1 addition & 4 deletions src/test/_rules_to_consider.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
export const rulesToConsider: Record<string, string[]> = {
'eslint-comments': [
'eslint-comments/no-unused-enable',
'eslint-comments/no-use',
],
'eslint-comments': ['eslint-comments/no-use'],
'': [
'block-scoped-var',
'capitalized-comments',
Expand Down

0 comments on commit 3232076

Please sign in to comment.