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

"lint:eslint" 命令无效 #222

Closed
xunmi1 opened this issue Jan 28, 2021 · 0 comments
Closed

"lint:eslint" 命令无效 #222

xunmi1 opened this issue Jan 28, 2021 · 0 comments

Comments

@xunmi1
Copy link

xunmi1 commented Jan 28, 2021

Subject of the issue

eslint 命令无效,--ext 选项使用错误

https://github.com/anncwb/vue-vben-admin/blob/2882d6e937a7d4996ae42ff62148d9a2f893fe47/package.json#L17

修改建议: eslint \"{src,mock}/**/*.{vue,ts,tsx,less,css,scss}\" --fix

Your environment

  • OS: Windows 10
  • Packages: vben-admin v2.0.0
  • Env: eslint: v7.18.0; node: v12.16.1

Steps to reproduce

运行 npm run lint:eslint

Expected behaviour

检查并自动修复代码问题

Actual behaviour

未能检查出任何问题

anncwb added a commit that referenced this issue Jan 28, 2021
@anncwb anncwb closed this as completed Jan 28, 2021
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

2 participants