Skip to content

Bug: lint规则'import/no-unresolved'开启后未正确生效 #6216

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

Open
4 of 5 tasks
SimonXcx opened this issue May 16, 2025 · 0 comments
Open
4 of 5 tasks

Bug: lint规则'import/no-unresolved'开启后未正确生效 #6216

SimonXcx opened this issue May 16, 2025 · 0 comments

Comments

@SimonXcx
Copy link

SimonXcx commented May 16, 2025

Version

Vben Admin V5

Describe the bug?


代码中把'import/no-unresolved'这个lint规则开启改为error后,可正常import的包在vscode中也会报unresolved的eslint错误信息

Image

Reproduction

'import/no-unresolved': 'error',

System Info

System:
    OS: Windows 10
  Binaries:
    Node: 22.14.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.9.2 - C:\Program Files\nodejs\npm.CMD
    pnpm: 10.10.0 - C:\Program Files\nodejs\pnpm.CMD

Relevant log output

Validations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant