Skip to content

fix: add plugin name and version metadata for ESLint v9 #921

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: correct types
  • Loading branch information
G-Rath committed Aug 7, 2024
commit 273cea2713f5924887023cd3f3ea58eab3ebdaf0
5 changes: 3 additions & 2 deletions tools/generate-configs/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { type LinterConfigRules } from '../../lib/configs';
import { type TSESLint } from '@typescript-eslint/utils';

import rules from '../../lib/rules';
import {
SUPPORTED_TESTING_FRAMEWORKS,
Expand All @@ -11,7 +12,7 @@ const RULE_NAME_PREFIX = 'testing-library/';

const getRecommendedRulesForTestingFramework = (
framework: SupportedTestingFramework
): LinterConfigRules =>
): Record<string, TSESLint.Linter.RuleEntry> =>
Object.entries(rules)
.filter(
([
Expand Down
Loading