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

Fe 1045 eslint v9 upgrade #39

Merged
merged 17 commits into from
Jul 11, 2024
Merged

Fe 1045 eslint v9 upgrade #39

merged 17 commits into from
Jul 11, 2024

Conversation

joephela
Copy link
Contributor

@joephela joephela commented Jul 11, 2024

Migrate to eslint v9 which had some major changes to how the config is handled. Apps will need to update to the latest for all eslint related deps outlined in the readme. They will also need to convert their .eslintrc and .eslintignore over to eslint.config.mjs. Some of the plugins (https://github.com/typescript-eslint/typescript-eslint) we use do not yet support v9 directly so we are using a compatability layer see FlatCompat within eslint.config.mjs. Once the plugins have updated we'll be able to replace the FlatCompat code with direct plugin references in the export array.

https://eslint.org/docs/latest/use/migrate-to-9.0.0
https://eslint.org/docs/latest/use/configure/migration-guide
https://acquia.atlassian.net/browse/FE-1045

Copy link

changeset-bot bot commented Jul 11, 2024

🦋 Changeset detected

Latest commit: 0e5ad8a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
eslint-config-widen Major
eslint-plugin-widen Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@joephela joephela marked this pull request as ready for review July 11, 2024 16:27
@joephela joephela requested a review from a team as a code owner July 11, 2024 16:27
@joephela joephela requested a review from avo July 11, 2024 16:27
@joephela joephela changed the title Fe 1045 eslint upgrade Fe 1045 eslint v9 upgrade Jul 11, 2024
eslint.config.mjs Outdated Show resolved Hide resolved
Copy link
Contributor

@avo avo left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks for digging into this!

@joephela joephela merged commit 601e5bd into main Jul 11, 2024
5 checks passed
@joephela joephela deleted the FE-1045-eslint-upgrade branch July 11, 2024 17:28
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