Skip to content

Commit

Permalink
fix: use valid config type for supporting both ESLint v8 and v9 (#976)
Browse files Browse the repository at this point in the history
Signed-off-by: Gareth Jones <Jones258@Gmail.com>
  • Loading branch information
G-Rath authored Dec 6, 2024
1 parent 0b71f10 commit d8e44b2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ declare const plugin: {
react: Linter.LegacyConfig;
svelte: Linter.LegacyConfig;
vue: Linter.LegacyConfig;
'flat/angular': Linter.Config<Linter.RulesRecord>;
'flat/dom': Linter.Config<Linter.RulesRecord>;
'flat/marko': Linter.Config<Linter.RulesRecord>;
'flat/react': Linter.Config<Linter.RulesRecord>;
'flat/svelte': Linter.Config<Linter.RulesRecord>;
'flat/vue': Linter.Config<Linter.RulesRecord>;
'flat/angular': Linter.FlatConfig;
'flat/dom': Linter.FlatConfig;
'flat/marko': Linter.FlatConfig;
'flat/react': Linter.FlatConfig;
'flat/svelte': Linter.FlatConfig;
'flat/vue': Linter.FlatConfig;
};
rules: {
[key: string]: Rule.RuleModule;
Expand Down

0 comments on commit d8e44b2

Please sign in to comment.