We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe554b9 commit 273cea2Copy full SHA for 273cea2
tools/generate-configs/index.ts
@@ -1,4 +1,5 @@
1
-import { type LinterConfigRules } from '../../lib/configs';
+import { type TSESLint } from '@typescript-eslint/utils';
2
+
3
import rules from '../../lib/rules';
4
import {
5
SUPPORTED_TESTING_FRAMEWORKS,
@@ -11,7 +12,7 @@ const RULE_NAME_PREFIX = 'testing-library/';
11
12
13
const getRecommendedRulesForTestingFramework = (
14
framework: SupportedTestingFramework
-): LinterConfigRules =>
15
+): Record<string, TSESLint.Linter.RuleEntry> =>
16
Object.entries(rules)
17
.filter(
18
([
0 commit comments