Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit ba2818f

Browse files
author
Quadflieg , Christopher
committed
Update eslint rules
1 parent c339f71 commit ba2818f

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

src/rules/eslint/no-extra-parens.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export type NoExtraParensOption =
1919
enforceForSequenceExpressions?: boolean;
2020
enforceForNewInMemberExpressions?: boolean;
2121
enforceForFunctionPrototypeMethods?: boolean;
22+
allowParensAfterCommentPattern?: string;
2223
},
2324
];
2425

src/rules/eslint/no-magic-numbers.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export interface NoMagicNumbersOption {
99
ignore?: (number | string)[];
1010
ignoreArrayIndexes?: boolean;
1111
ignoreDefaultValues?: boolean;
12+
ignoreClassFieldInitialValues?: boolean;
1213
}
1314

1415
/**

src/rules/eslint/no-underscore-dangle.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ export interface NoUnderscoreDangleOption {
1111
enforceInMethodNames?: boolean;
1212
allowFunctionParams?: boolean;
1313
enforceInClassFields?: boolean;
14+
allowInArrayDestructuring?: boolean;
15+
allowInObjectDestructuring?: boolean;
1416
}
1517

1618
/**

0 commit comments

Comments
 (0)