Skip to content

[lexical-eslint-plugin] Chore: update @lexical/eslint-plugin for better eslint 9+ support, finish jest to vitest migration#8227

Merged
etrepum merged 11 commits intofacebook:mainfrom
etrepum:eslint-9
Mar 16, 2026
Merged

[lexical-eslint-plugin] Chore: update @lexical/eslint-plugin for better eslint 9+ support, finish jest to vitest migration#8227
etrepum merged 11 commits intofacebook:mainfrom
etrepum:eslint-9

Conversation

@etrepum
Copy link
Collaborator

@etrepum etrepum commented Mar 16, 2026

Description

Refactor @lexical/eslint-plugin to better support eslint 9+. Note that this doesn't upgrade the eslint this repo uses, that will be done in a follow-up, probably after release of this version.

Migrate from jest to vitest for integration tests, removing the jest dependency entirely

Most of this was assisted by Claude, but I reviewed it and tested it manually.

Test plan

New integration tests for the lexical eslint plugin to confirm that it works with eslint 8 and eslint 10

All existing tests pass

@vercel
Copy link

vercel bot commented Mar 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lexical Ready Ready Preview, Comment Mar 16, 2026 2:35pm
lexical-playground Ready Ready Preview, Comment Mar 16, 2026 2:35pm

Request Review

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 16, 2026
@etrepum etrepum added the extended-tests Run extended e2e tests on a PR label Mar 16, 2026
@etrepum etrepum changed the title [lexical-eslint-plugin] Chore: update @lexical/eslint-plugin for better eslint 9+ support [lexical-eslint-plugin] Chore: update @lexical/eslint-plugin for better eslint 9+ support, finish jest to vitest migration Mar 16, 2026
@etrepum etrepum marked this pull request as ready for review March 16, 2026 14:36
@etrepum etrepum added this pull request to the merge queue Mar 16, 2026
Merged via the queue into facebook:main with commit 4fc1e4c Mar 16, 2026
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. extended-tests Run extended e2e tests on a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants