当前位置:   article > 正文

You may use special comments to disable some warnings. Use // eslint-disable-next-line to ignore the

you may use special comments to disable some warnings. use // eslint-disable

问题:
Use // eslint-disable-next-line to ignore the next line. Use /* eslint-disable */ to ignore all warnings in a file.
解决方法
找到build目录下的webpack.base.conf.js文件,注释掉其中的与有关的eslint规则即可。
关闭编码规范检查,编辑webpack.base.conf.js,找到module节点下的rules节点,注释掉这一行:

// ...(config.dev.useEslint ? [createLintingRule()] : []),
  • 1
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Cpp五条/article/detail/442273
推荐阅读
相关标签
  

闽ICP备14008679号