Skip to content

Commit 273cea2

Browse files
committed
fix: correct types
1 parent fe554b9 commit 273cea2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tools/generate-configs/index.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { type LinterConfigRules } from '../../lib/configs';
1+
import { type TSESLint } from '@typescript-eslint/utils';
2+
23
import rules from '../../lib/rules';
34
import {
45
SUPPORTED_TESTING_FRAMEWORKS,
@@ -11,7 +12,7 @@ const RULE_NAME_PREFIX = 'testing-library/';
1112

1213
const getRecommendedRulesForTestingFramework = (
1314
framework: SupportedTestingFramework
14-
): LinterConfigRules =>
15+
): Record<string, TSESLint.Linter.RuleEntry> =>
1516
Object.entries(rules)
1617
.filter(
1718
([

0 commit comments

Comments
 (0)