在webstrom中寫(xiě)代碼以后使用ctrl+alt+l規(guī)范了代碼
但是還是報(bào)Expected indentation of 0 spaces but found 2
這些錯(cuò)誤
如何解決呢

image.png
文件中加入
"indent": ["off", 2]
就可以了
當(dāng)修改了.eslintrc.js文件后
使用npm run dev編譯才能生效
祝大家學(xué)習(xí)vue愉快
在webstrom中寫(xiě)代碼以后使用ctrl+alt+l規(guī)范了代碼
但是還是報(bào)Expected indentation of 0 spaces but found 2
這些錯(cuò)誤
如何解決呢
使用npm run dev編譯才能生效
祝大家學(xué)習(xí)vue愉快