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 Report] 全局pnpm lint error #12492

Closed
RSS1102 opened this issue Dec 5, 2023 · 3 comments · Fixed by #12516
Closed

[Bug Report] 全局pnpm lint error #12492

RSS1102 opened this issue Dec 5, 2023 · 3 comments · Fixed by #12516

Comments

@RSS1102
Copy link
Contributor

RSS1102 commented Dec 5, 2023

重现链接

https://github.com/RSS1102/vant

Vant 版本

"vant": "^4.8.0",

描述一下你遇到的问题。

> @ lint D:\GitHub\vant
> eslint ./packages/**/src ./packages/**/test --ext .js,.ts,.tsx,.vue,.mjs,.cjs


Oops! Something went wrong! :(

ESLint: 8.47.0

No files matching the pattern "./packages/**/src" were found.
Please check for typing mistakes in the pattern.

 ELIFECYCLE  Command failed with exit code 2.

重现步骤

  1. pnpm i
  2. pnpm lint

设备/浏览器

node版本: 20.10.0,18.6.0 均不可

@chenjiahan
Copy link
Member

这个应该是 Windows 路径和 macOS 不一致的问题,可以帮忙适配一下 Windows😄

Copy link

Hello @RSS1102. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please send your Pull Request to main branch, provide changelog/TypeScript/documentation/test cases if needed and make sure CI passed, we will review it soon. We appreciate your effort in advance and looking forward to your contribution!

你好 @RSS1102,我们完全同意你的提议/反馈,欢迎直接在此仓库 创建一个 Pull Request 来解决这个问题。请将 Pull Request 发到 main 分支,提供改动所需相应的 changelog、TypeScript 定义、测试用例、文档等,并确保 CI 通过,我们会尽快进行 Review,提前感谢和期待你的贡献。

@RSS1102
Copy link
Contributor Author

RSS1102 commented Dec 17, 2023

好的,我尝试一下。

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

Successfully merging a pull request may close this issue.

2 participants