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 type { ESLintUtils } from '@typescript-eslint/utils'
7import type { ExtraRuleDocs } from './types'
8β
9export const rules: Record<
10 string,
11 ESLintUtils.RuleModule<
12 string,
13 ReadonlyArray<unknown>,
14 ExtraRuleDocs,
15 ESLintUtils.RuleListener
16 >
17> = {
18 [exhaustiveDeps.name]: exhaustiveDeps.rule,
19 [stableQueryClient.name]: stableQueryClient.rule,
20 [noRestDestructuring.name]: noRestDestructuring.rule,
21 [noUnstableDeps.name]: noUnstableDeps.rule,
22 [infiniteQueryPropertyOrder.name]: infiniteQueryPropertyOrder.rule,
23}