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

[Bug] lint 在 eslint 9 下运行报错 #12761

Open
boringplay opened this issue Nov 2, 2024 · 2 comments
Open

[Bug] lint 在 eslint 9 下运行报错 #12761

boringplay opened this issue Nov 2, 2024 · 2 comments

Comments

@boringplay
Copy link

What happens?

Error: Cannot read config file: node_modules/@umijs/lint/dist/config/eslint/index.js
Error: Failed to patch ESLint because the calling module was not recognized.
If you are using a newer ESLint version that may be unsupported, please create a GitHub issue:
https://github.com/microsoft/rushstack/issues

Mini Showcase Repository(REQUIRED)

https://stackblitz.com/edit/vitejs-vite-zidsnh?file=package.json

任意升级到 eslint9 就行

How To Reproduce

Steps to reproduce the behavior: 1. 2.

npm run eslint

Expected behavior 1. 2.

Context

  • Umi Version:
  • Node Version:
  • Platform:
@ArronYR
Copy link

ArronYR commented Nov 27, 2024

遇到了同样的问题,官方没人回复下如何处理

@JakeXu
Copy link

JakeXu commented Dec 17, 2024

#12261 应该暂时用不了9

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

No branches or pull requests

3 participants