Skip to content

Commit 1fde65a

Browse files
committed
Simplify declaration
1 parent ff5d239 commit 1fde65a

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

packages/core/src/types.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -451,15 +451,7 @@ export interface RuleDefinitionTypeOptions {
451451
* The definition of an ESLint rule.
452452
*/
453453
export interface RuleDefinition<
454-
Options extends RuleDefinitionTypeOptions = {
455-
LangOptions: LanguageOptions;
456-
Code: SourceCode;
457-
RuleOptions: unknown[];
458-
Visitor: RuleVisitor;
459-
Node: unknown;
460-
MessageIds: string;
461-
ExtRuleDocs: unknown;
462-
},
454+
Options extends RuleDefinitionTypeOptions = RuleDefinitionTypeOptions,
463455
> {
464456
/**
465457
* The meta information for the rule.

0 commit comments

Comments
 (0)