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 5760f70 commit 55486f1Copy full SHA for 55486f1
packages/eslint-plugin-query/src/index.ts
@@ -6,10 +6,10 @@ type RuleKey = keyof typeof rules
6
7
interface Plugin extends Omit<ESLint.Plugin, 'rules'> {
8
rules: Record<RuleKey, RuleModule<any, any, any>>
9
- configs: Record<
10
- 'recommended' | 'flat/recommended',
11
- ESLint.ConfigData | Linter.FlatConfig | Array<Linter.FlatConfig>
12
- >
+ configs: {
+ recommended: ESLint.ConfigData
+ 'flat/recommended': Array<Linter.FlatConfig>
+ }
13
}
14
15
const plugin: Plugin = {
0 commit comments