方法一
修改.eslintignore文件
修改配置文件 .eslintrc.js ,在 .eslintrc.js文件的rules:{}中加入如下代码:
"indent": ["off", 2],
去掉eslint验证