Skip to content

Commit

Permalink
feat!: eslint-comments/no-aggregating-enable
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Nov 23, 2024
1 parent fb9213e commit b513d3a
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 @@ -6,6 +6,7 @@ const usage: PluginUsage = {
plugin,
rules: {
'disable-enable-pair': ['error', { allowWholeFile: true }],
'no-aggregating-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 @@ -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',
{
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-aggregating-enable',
'eslint-comments/no-duplicate-disable',
'eslint-comments/no-restricted-disable',
'eslint-comments/no-unlimited-disable',
Expand Down

0 comments on commit b513d3a

Please sign in to comment.