Skip to content

Commit

Permalink
feat!: eslint-comments/no-duplicate-disable
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Nov 23, 2024
1 parent 71c596e commit e60dd79
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/plugin-usage/eslint-comments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const usage: PluginUsage = {
rules: {
'disable-enable-pair': ['error', { allowWholeFile: true }],
'no-aggregating-enable': ['error'],
'no-duplicate-disable': ['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 @@ -11,6 +11,7 @@ export const expectedEslintCommentsRules: Record<
> = {
'eslint-comments/disable-enable-pair': ['error', { allowWholeFile: true }],
'eslint-comments/no-aggregating-enable': ['error'],
'eslint-comments/no-duplicate-disable': ['error'],
'eslint-comments/require-description': [
'error',
{
Expand Down
1 change: 0 additions & 1 deletion src/test/_rules_to_consider.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
export const rulesToConsider: Record<string, string[]> = {
'eslint-comments': [
'eslint-comments/no-duplicate-disable',
'eslint-comments/no-restricted-disable',
'eslint-comments/no-unlimited-disable',
'eslint-comments/no-unused-disable',
Expand Down

0 comments on commit e60dd79

Please sign in to comment.