由于在查看如何开启eslint自动格式化代码,不小心在seting文件中增加了一个配置。取消就可以了
无法启动eslint客户端的原因是eslint有个报错:
Cannot read property ‘toLowerCase’ of null
找到setting.json中,“eslint.trace.server”: null, 注释掉,重启vscode就可以了。亲测有校
参考
由于在查看如何开启eslint自动格式化代码,不小心在seting文件中增加了一个配置。取消就可以了
无法启动eslint客户端的原因是eslint有个报错:
Cannot read property ‘toLowerCase’ of null
找到setting.json中,“eslint.trace.server”: null, 注释掉,重启vscode就可以了。亲测有校
参考