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

Commit da841be

Browse files
committed
Update eslint rules
1 parent c2c8ec7 commit da841be

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

src/rules/eslint/no-fallthrough.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import type { RuleConfig } from '../rule-config';
55
*/
66
export interface NoFallthroughOption {
77
commentPattern?: string;
8+
allowEmptyCase?: boolean;
89
}
910

1011
/**

src/rules/eslint/no-warning-comments.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ import type { RuleConfig } from '../rule-config';
66
export interface NoWarningCommentsOption {
77
terms?: string[];
88
location?: 'start' | 'anywhere';
9+
/**
10+
* @minItems 1
11+
*/
12+
decoration?: [string, ...string[]];
913
}
1014

1115
/**

src/rules/eslint/object-shorthand.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export type ObjectShorthandOption =
2727
'always' | 'methods',
2828
{
2929
ignoreConstructors?: boolean;
30+
methodsIgnorePattern?: string;
3031
avoidQuotes?: boolean;
3132
avoidExplicitReturnArrows?: boolean;
3233
},

src/rules/eslint/sort-keys.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export interface SortKeysConfig {
77
caseSensitive?: boolean;
88
natural?: boolean;
99
minKeys?: number;
10+
allowLineSeparatedGroups?: boolean;
1011
}
1112

1213
/**

0 commit comments

Comments
 (0)