屏蔽eslint代码格式报错
1、在文件中找到node_modules

2、node_modules文件夹下的eslint-config-standard

3、打开eslint-config-standard文件夹下的eslintrc.json

4、在eslintrc.json的“rules”部分可以修改

把想屏蔽的错误的error改成off就可以屏蔽掉了
eg:
"no-irregular-whitespace": "error",
改成:"no-irregular-whitespace": "off",

浙公网安备 33010602011771号