Skip to content

fix: update tests for ESLint 10 compatibility#1028

Open
FbN wants to merge 2 commits intoeslint-functional:mainfrom
FbN:main
Open

fix: update tests for ESLint 10 compatibility#1028
FbN wants to merge 2 commits intoeslint-functional:mainfrom
FbN:main

Conversation

@FbN
Copy link

@FbN FbN commented Feb 17, 2026

  • Replace @babel/eslint-parser with ESLint's default parser (espree) for JavaScript tests, as Babel parser is not yet compatible with ESLint 10 (see babel/eslint parser failing with ESLint 10 babel/babel#17791)
  • Regenerate all test snapshots to reflect ESLint 10's removal of the nodeType property from lint messages

BREAKING CHANGE: Requires ESLint 10+

  - Replace @babel/eslint-parser with ESLint's default parser (espree) for
    JavaScript tests, as Babel parser is not yet compatible with ESLint 10
    (see babel/babel#17791)
  - Regenerate all test snapshots to reflect ESLint 10's removal of the
    `nodeType` property from lint messages

  BREAKING CHANGE: Requires ESLint 10+
@FbN FbN changed the title fix: update tests for ESLint 10 compatibility fix: update tests for ESLint 10 compatibility Feb 17, 2026
- Remove unnecessary @ts-expect-error for eslint-plugin-eslint-plugin
    (now has types in v7.3.1)
- Update vitest.config.ts for vitest 4.x (use provider instead of all)
@darky darky mentioned this pull request Feb 18, 2026
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.

1 participant

Comments