报错:http://eslint.org/docs/rules/no-multi-spaces

报错截图

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校验不通过,解决如下:


版权声明:本文为PGY0000原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。