Skip to content
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

chore: Migrate to ESLint flat config in root directory #11654

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

lotmek
Copy link

@lotmek lotmek commented Oct 5, 2024

Description

Continuing the work for #10897.
Flat configs already exist in ESLint v8.
I've followed the Configuration Migration Guide to enable ESLint flat config only at the root level

  • Create a flat config file eslint.config.mjs at the root of the project
  • Use the configuration migrator to start the migration
  • Migrate all the plugins to the new format
  • Handle shared configs at the root level
    • buildSharedConfig was implemented to add the configs to the related sub-packages
  • Ignore new rules that were introduced (check TODO)

@peterp
Copy link
Contributor

peterp commented Oct 14, 2024

@lotmek This is awesome work, I'll make sure to get this prioritized this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants