前端工程启动有异常:✘ http://eslint.org/docs/rules/indent Expected indentation of 2 spaces but found 4

具体报错如下:

 ✘  http://eslint.org/docs/rules/indent               Expected indentation of 2 spaces but found 4
  src\views\edu\subject\courseTypeAdd.vue:82:1
      }
   ^

  ✘  http://eslint.org/docs/rules/eol-last             Newline required at end of file but not found
  src\views\edu\subject\courseTypeAdd.vue:84:10
  </script>
            ^102 problems (102 errors, 0 warnings)

这是由于代码格式检测工具ESLint的严格规范导致的格式异常提示,并不会导致项目启动失败。但看着实在糟心,在项目中让它不要工作就行。
在这里插入图片描述


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