原文:Expected indentation of 2 spaces but found 4

...

2020-06-03 11:23 0 3458 推荐指数:

查看详情

总是报Expected indentation of 0 spaces but found 2如何解决

在webstrom中写代码以后使用ctrl+alt+l规范了代码但是还是报Expected indentation of 0 spaces but found 2这些错误如何解决呢 在 文件中加入"indent": ["off", 2]就可以了当修改了.eslintrc.js文件 ...

Mon Jun 22 08:35:00 CST 2020 0 2548
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM