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

提交代码失败,总是报stylelint和eslint的错误 #67

Open
3 tasks done
shuqiang0 opened this issue Sep 2, 2022 · 2 comments
Open
3 tasks done

提交代码失败,总是报stylelint和eslint的错误 #67

shuqiang0 opened this issue Sep 2, 2022 · 2 comments

Comments

@shuqiang0
Copy link

⚠️ IMPORTANT ⚠️ Please check the following list before proceeding. If you ignore this issue template, your issue will be directly closed.

  • Read the docs.
  • Make sure the code is up to date. (Some bugs have been fixed in the latest code)
  • This is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.

Describe the bug

提交代码失败,总是报stylelint和eslint的错误。
image

Reproduction

我把项目代码复制到我的git初始化项目文件夹中,想要把项目提交代码。并且按照文档关闭commitLink和Git Hook。再次提交还是会出现图片中的错误。

System Info

  • Operating System:win11
  • Node version:v16.15.1
  • Package manager (npm/yarn/pnpm) and version:[email protected]
@zhangyuanliang
Copy link

zhangyuanliang commented Sep 5, 2022

'key'报错:可以自己重新改一下名字,比如改成keys
stylelint --fix报错:husky好像得自己重置一下

@huangwenboha563
Copy link

关闭掉这些eslint tslint stylelint 各种lint 用webstorm自带的command+alt+l去格式化

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