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

eslint-disable 提示 warning #7

Open
zrain opened this issue May 9, 2020 · 1 comment
Open

eslint-disable 提示 warning #7

zrain opened this issue May 9, 2020 · 1 comment

Comments

@zrain
Copy link

zrain commented May 9, 2020

1:0 warning Unexpected unlimited 'eslint-disable' comment. Specify some rule names to disable eslint-comments/no-unlimited-disable
1:1 warning ESLint rules are disabled but never reported eslint-comments/no-unused-disable

@fwh1990
Copy link
Member

fwh1990 commented May 11, 2020

生成的代码不一定符合您项目的eslint规则,所以必须直接禁用。去掉注释恐怕会有更多的报错

建议您将该目录直接添加到 .eslintignore 文件,即不再检测该目录

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