Skip to content

Conversation

Logicer16
Copy link
Contributor

Prerequisites checklist

What is the purpose of this pull request? (put an "X" next to an item)

[ ] Documentation update
[x] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofix to a rule
[ ] Add a CLI option
[ ] Add something to the core
[ ] Other, please explain:

What changes did you make? (Give an overview)

Almost a year ago when @types/eslint was upgrade to v9 the type alias for the deprecated FlatConfig was added but without any type arguments. This was breaking change for any packages which defined their own Rules (which tsc may do by default) rather than relying on the default RulesRecord.

This pr simply re-adds the parameter and proxies it to the new Config type.

Is there anything you'd like reviewers to focus on?

@Logicer16 Logicer16 requested a review from a team as a code owner June 6, 2025 15:42
@github-project-automation github-project-automation bot moved this to Needs Triage in Triage Jun 6, 2025
@eslint-github-bot eslint-github-bot bot added the bug ESLint is working incorrectly label Jun 6, 2025
Copy link

linux-foundation-easycla bot commented Jun 6, 2025

CLA Signed


The committers listed above are authorized under a signed CLA.

Copy link

netlify bot commented Jun 6, 2025

Deploy Preview for docs-eslint canceled.

Name Link
🔨 Latest commit adeba08
🔍 Latest deploy log https://app.netlify.com/projects/docs-eslint/deploys/68430c7b90703d0008f518e7

Copy link
Member

@nzakas nzakas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this. LGTM. Would like another review before merging.

@nzakas nzakas moved this from Needs Triage to Second Review Needed in Triage Jun 6, 2025
@nzakas nzakas added the accepted There is consensus among the team that this change meets the criteria for inclusion label Jun 6, 2025
@fasttime fasttime added the types Related to TypeScript types label Jun 7, 2025
Copy link
Member

@fasttime fasttime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@fasttime fasttime merged commit 7ab77a2 into eslint:main Jun 7, 2025
30 checks passed
@github-project-automation github-project-automation bot moved this from Second Review Needed to Complete in Triage Jun 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted There is consensus among the team that this change meets the criteria for inclusion bug ESLint is working incorrectly types Related to TypeScript types
Projects
Status: Complete
Development

Successfully merging this pull request may close these issues.

3 participants