Open History to see the last commit
1import * as exhaustiveDeps from './rules/exhaustive-deps/exhaustive-deps.rule'
2import * as stableQueryClient from './rules/stable-query-client/stable-query-client.rule'
3import * as noRestDestructuring from './rules/no-rest-destructuring/no-rest-destructuring.rule'
4import * as noUnstableDeps from './rules/no-unstable-deps/no-unstable-deps.rule'
5import * as infiniteQueryPropertyOrder from './rules/infinite-query-property-order/infinite-query-property-order.rule'
6import * as noVoidQueryFn from './rules/no-void-query-fn/no-void-query-fn.rule'
7import type { ESLintUtils } from '@typescript-eslint/utils'
8import type { ExtraRuleDocs } from './types'
9β
10export const rules: Record<
11 string,
12 ESLintUtils.RuleModule<
13 string,
14 ReadonlyArray<unknown>,
15 ExtraRuleDocs,
16 ESLintUtils.RuleListener
17 >
18> = {
19 [exhaustiveDeps.name]: exhaustiveDeps.rule,
20 [stableQueryClient.name]: stableQueryClient.rule,
21 [noRestDestructuring.name]: noRestDestructuring.rule,
22 [noUnstableDeps.name]: noUnstableDeps.rule,
23 [infiniteQueryPropertyOrder.name]: infiniteQueryPropertyOrder.rule,
24 [noVoidQueryFn.name]: noVoidQueryFn.rule,
25}