版权声明:本文为博主原创文章,未经博主允许不得转载。所有教程仅供学习使用 https://blog.csdn.net/PGY0000/article/details/85258292
报错截图
http://eslint.org/docs/rules/no-multi-spaces Multiple spaces found before '//index.html中的...'
报错原因
不符合eslint的校验规则,截图如下:
解决方案
方案一:按照eslint的规则写规范性代码
方案二:忽略该规则校验
Errors:
1 http://eslint.org/docs/rules/no-multi-spaces,表示规则no-multi-spaces校验不通过,解决如下: