Skip to content

Commit

Permalink
fix(eslint-plugin): type config names (#7766)
Browse files Browse the repository at this point in the history
* fix(eslint-plugin): type configs

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
  • Loading branch information
AhmedBaset and autofix-ci[bot] committed Jul 20, 2024
1 parent c3dffbd commit 404c2fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/eslint-plugin-query/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type RuleKey = keyof typeof rules
interface Plugin extends Omit<ESLint.Plugin, 'rules'> {
rules: Record<RuleKey, RuleModule<any, any, any>>
configs: Record<
string,
'recommended' | 'flat/recommended',
ESLint.ConfigData | Linter.FlatConfig | Array<Linter.FlatConfig>
>
}
Expand All @@ -16,7 +16,7 @@ const plugin: Plugin = {
meta: {
name: '@tanstack/eslint-plugin-query',
},
configs: {},
configs: {} as Plugin['configs'],
rules,
}

Expand Down

0 comments on commit 404c2fa

Please sign in to comment.