我正在使用 Visual Studio Code 1.4.0。我参与了两个不同的项目,一个使用 jslint,另一个使用 eslint。我已经安装并工作了,但我能弄清楚如何在两者之间切换的唯一方法是打开 settings.json,编辑并重新加载。我尝试禁用两者,然后在 jsconfig.json 中启用它们。例如,在 settings.json 中:
// Place your settings in this file to overwrite the default settings
{
"jslint.enable": false,
"eslint.enable": false
}
然后在 jsconfig.json 中:
"eslint.enable": false,
"jslint.enable": true
这不起作用(它实际上并没有更改设置并查看文档,它似乎不是 jsconfig.json 的预期用途)。有没有办法做我想做的事?