其他分享
首页 > 其他分享> > eslint空行、空格报错

eslint空行、空格报错

作者:互联网

报错:

Errors:
2 http://eslint.org/docs/rules/quotes
2 http://eslint.org/docs/rules/semi
1 http://eslint.org/docs/rules/space-before-function-paren

You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.

解决,在config下找到index.js,将useEslint:false改为useEslint:true,然后重新运行项目即可:

 

 完事儿,Bye~

标签:空行,http,rules,docs,disable,报错,eslint,org
来源: https://www.cnblogs.com/qhm-1440/p/16501924.html