Skip to content

Commit b513d3a

Browse files
committed
feat!: eslint-comments/no-aggregating-enable
1 parent fb9213e commit b513d3a

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

src/plugin-usage/eslint-comments.ts

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const usage: PluginUsage = {
66
plugin,
77
rules: {
88
'disable-enable-pair': ['error', { allowWholeFile: true }],
9+
'no-aggregating-enable': ['error'],
910
'require-description': [
1011
'error',
1112
{

src/test/_expected-exported-value.ts

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export const expectedEslintCommentsRules: Record<
1010
TSESLint.SharedConfig.RuleEntry
1111
> = {
1212
'eslint-comments/disable-enable-pair': ['error', { allowWholeFile: true }],
13+
'eslint-comments/no-aggregating-enable': ['error'],
1314
'eslint-comments/require-description': [
1415
'error',
1516
{

src/test/_rules_to_consider.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
export const rulesToConsider: Record<string, string[]> = {
22
'eslint-comments': [
3-
'eslint-comments/no-aggregating-enable',
43
'eslint-comments/no-duplicate-disable',
54
'eslint-comments/no-restricted-disable',
65
'eslint-comments/no-unlimited-disable',

0 commit comments

Comments
 (0)