解决:ESLint: Expected indentation of 4 spaces but found 6.(indent)

方法一

修改.eslintignore文件
解决:ESLint: Expected indentation of 4 spaces but found 6.(indent)

方法二

修改配置文件 .eslintrc.js ,在 .eslintrc.js文件的rules:{}中加入如下代码:

"indent": ["off", 2],

解决:ESLint: Expected indentation of 4 spaces but found 6.(indent)

方法三

去掉eslint验证
解决:ESLint: Expected indentation of 4 spaces but found 6.(indent)

上一篇:聊聊gost的DeltaCompare


下一篇:在windows下改装gvim为python的IDE