Skip to content

chore: update ESLint to v9#709

Merged
JounQin merged 22 commits intoprettier:mainfrom
fisker:eslint-9
Mar 9, 2025
Merged

chore: update ESLint to v9#709
JounQin merged 22 commits intoprettier:mainfrom
fisker:eslint-9

Conversation

@fisker
Copy link
Copy Markdown
Member

@fisker fisker commented Mar 3, 2025

No description provided.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Mar 3, 2025

⚠️ No Changeset found

Latest commit: e4a86d3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

Comment thread .remarkrc
Comment thread test/prettier.mjs
Comment thread test/prettier.mjs
@fisker
Copy link
Copy Markdown
Member Author

fisker commented Mar 6, 2025

Need update Branch protection rule when merge.

@fisker fisker requested review from BPScott and JounQin March 6, 2025 13:17
@fisker fisker marked this pull request as ready for review March 6, 2025 13:17
@JounQin
Copy link
Copy Markdown
Member

JounQin commented Mar 6, 2025

Seems only housekeeping, but Node 14/16 compatible tests are disabled?

@fisker
Copy link
Copy Markdown
Member Author

fisker commented Mar 6, 2025

but Node 14/16 compatible tests are disabled?

ESLint can't run on them https://github.com/prettier/eslint-plugin-prettier/actions/runs/13699233561/job/38308655951#step:6:28 . Suggestion?

@JounQin
Copy link
Copy Markdown
Member

JounQin commented Mar 6, 2025

but Node 14/16 compatible tests are disabled?

ESLint can't run on them prettier/eslint-plugin-prettier/actions/runs/13699233561/job/38308655951#step:6:28 . Suggestion?

We may need to downgrade eslint to v8 for Node 14/16 on CI?

eslint-plugin-prettier@5 is compatible with eslint v8/v9, so testing is still needed just like prettier itself?

https://github.com/prettier/prettier/blob/main/.github/workflows/prod-test.yml#L61

@fisker
Copy link
Copy Markdown
Member Author

fisker commented Mar 6, 2025

We may need to downgrade eslint to v8 for Node 14/16 on CI?

I can try, but do we have a plan to drop support? Since I didn't actually change the code, it should still work with ESLint 8, just not tested.

@JounQin
Copy link
Copy Markdown
Member

JounQin commented Mar 6, 2025

I can try, but do we have a plan to drop support? Since I didn't actually change the code, it should still work with ESLint 8, just not tested.

Personally I'd follow prettier's strategy instead of eslint's.

What means when prettier changes its engines support, eslint-plugin-prettier will follow.

@fisker fisker marked this pull request as draft March 6, 2025 14:26
@fisker
Copy link
Copy Markdown
Member Author

fisker commented Mar 6, 2025

All tested.

@fisker fisker marked this pull request as ready for review March 6, 2025 15:17
@fisker fisker closed this Mar 6, 2025
@fisker fisker reopened this Mar 6, 2025
Comment thread test/prettier.mjs Outdated
@JounQin JounQin force-pushed the eslint-9 branch 2 times, most recently from 5bafcd9 to 4364104 Compare March 9, 2025 04:38
@JounQin
Copy link
Copy Markdown
Member

JounQin commented Mar 9, 2025

Thanks for your great work!

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