import type { ESLintUtils } from '@typescript-eslint/utils'; import type { ExtraRuleDocs } from './types'; import * as noRestDestructuring from './rules/no-rest-destructuring/no-rest-destructuring.rule'; import * as noUnstableDeps from './rules/no-unstable-deps/no-unstable-deps.rule'; export const rules: Record< string, ESLintUtils.RuleModule< string, ReadonlyArray, ExtraRuleDocs, ESLintUtils.RuleListener > > = { [noRestDestructuring.name]: noRestDestructuring.rule, [noUnstableDeps.name]: noUnstableDeps.rule, };