From b513d3a30e1501041618225cc4e3ad5b73f36bca Mon Sep 17 00:00:00 2001 From: "Shahar \"Dawn\" Or" Date: Sat, 23 Nov 2024 16:42:22 +0700 Subject: [PATCH] feat!: eslint-comments/no-aggregating-enable --- src/plugin-usage/eslint-comments.ts | 1 + src/test/_expected-exported-value.ts | 1 + src/test/_rules_to_consider.ts | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugin-usage/eslint-comments.ts b/src/plugin-usage/eslint-comments.ts index 68f6f422..b8c23298 100644 --- a/src/plugin-usage/eslint-comments.ts +++ b/src/plugin-usage/eslint-comments.ts @@ -6,6 +6,7 @@ const usage: PluginUsage = { plugin, rules: { 'disable-enable-pair': ['error', { allowWholeFile: true }], + 'no-aggregating-enable': ['error'], 'require-description': [ 'error', { diff --git a/src/test/_expected-exported-value.ts b/src/test/_expected-exported-value.ts index ad75b9ce..35e7c229 100644 --- a/src/test/_expected-exported-value.ts +++ b/src/test/_expected-exported-value.ts @@ -10,6 +10,7 @@ export const expectedEslintCommentsRules: Record< TSESLint.SharedConfig.RuleEntry > = { 'eslint-comments/disable-enable-pair': ['error', { allowWholeFile: true }], + 'eslint-comments/no-aggregating-enable': ['error'], 'eslint-comments/require-description': [ 'error', { diff --git a/src/test/_rules_to_consider.ts b/src/test/_rules_to_consider.ts index befb47f0..4f0a09bf 100644 --- a/src/test/_rules_to_consider.ts +++ b/src/test/_rules_to_consider.ts @@ -1,6 +1,5 @@ export const rulesToConsider: Record = { 'eslint-comments': [ - 'eslint-comments/no-aggregating-enable', 'eslint-comments/no-duplicate-disable', 'eslint-comments/no-restricted-disable', 'eslint-comments/no-unlimited-disable',