总是报Expected indentation of 0 spaces but found 2如何解决
时间:2020-09-04 21:07:20
收藏:0
阅读:913
在webstrom中写代码以后使用ctrl+alt+l规范了代码
但是还是报Expected indentation of 0 spaces but found 2
这些错误
如何解决呢
在

image.png
文件中加入
"indent": ["off", 2]
就可以了
当修改了.eslintrc.js文件后
使用npm run dev编译才能生效
=========
转载自:https://www.jianshu.com/p/a76f74feff49
原文:https://www.cnblogs.com/hd92/p/13616100.html
评论(0)