Skip to content

chore: upgrade dependencies to ESLint 10 + import-x#1

Open
nu-xin wants to merge 2 commits intowmzy:mainfrom
nu-xin:upgrade-deps
Open

chore: upgrade dependencies to ESLint 10 + import-x#1
nu-xin wants to merge 2 commits intowmzy:mainfrom
nu-xin:upgrade-deps

Conversation

@nu-xin
Copy link

@nu-xin nu-xin commented Mar 1, 2026

Changes

  • Upgrade to ESLint 10
  • Replace eslint-plugin-import with eslint-plugin-import-x
  • Upgrade typescript to 5.9.3
  • Upgrade typescript-eslint to 8.56.1
  • Upgrade other dependencies to latest

Peer Dependency Conflicts

Due to ESLint 10 being very new, some plugins have not yet released support:

Plugin Current Version ESLint 10 Support
eslint-plugin-react 7.37.5 🔄 PR #3979 修复中,测试通过,需添加回归测试
eslint-plugin-import 2.32.0 ❌ ^2-9
eslint-config-prettier 10.1.8 ✅ ^10

Installation

npm install --legacy-peer-deps

This is a known issue until the above plugins release ESLint 10 compatible versions.


Update 2026-03-02: eslint-plugin-react PR #3979 已提交修复,所有 ESLint 10 测试通过,正在等待添加回归测试后合并。

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