Skip to content

Commit

Permalink
Merge branch 'base'
Browse files Browse the repository at this point in the history
  • Loading branch information
denis-sokolov committed Sep 10, 2024
2 parents 10c95a5 + 199baec commit 3f6941d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/eslint/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ export type Context = Omit<RuleContext, "report"> & {
report: (params: ReportParams) => void;
};

export type Rule = { create: (context: Context) => RuleListener };
export type Rule = {
create: (context: Context) => RuleListener;
meta?: Partial<ESLintUtils.RuleModule<"">["meta"]>;
};

export type Rules = {
[name: string]: Rule;
Expand Down

0 comments on commit 3f6941d

Please sign in to comment.