We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3dffbd commit 404c2faCopy full SHA for 404c2fa
packages/eslint-plugin-query/src/index.ts
@@ -7,7 +7,7 @@ type RuleKey = keyof typeof rules
7
interface Plugin extends Omit<ESLint.Plugin, 'rules'> {
8
rules: Record<RuleKey, RuleModule<any, any, any>>
9
configs: Record<
10
- string,
+ 'recommended' | 'flat/recommended',
11
ESLint.ConfigData | Linter.FlatConfig | Array<Linter.FlatConfig>
12
>
13
}
@@ -16,7 +16,7 @@ const plugin: Plugin = {
16
meta: {
17
name: '@tanstack/eslint-plugin-query',
18
},
19
- configs: {},
+ configs: {} as Plugin['configs'],
20
rules,
21
22
0 commit comments