当前位置:网站首页>The solution that does not work and does not take effect after VScode installs ESlint

The solution that does not work and does not take effect after VScode installs ESlint

2022-08-09 06:26:00 Salted fish chai also has the dream of a big factory

1. The installed version of ESlint is too high and incompatible with the project. Station C has something similar, so there are not too many here

2.setting.json is not configured, the following provides my configuration for reference

 "editor.codeActionsOnSave": {"source.fixAll": true},"eslint.alwaysShowStatus": true,"eslint.format.enable": true,"diffEditor.ignoreTrimWhitespace": false,"editor.inlineSuggest.enabled": true,

3. The reason for my own failure: There can only be one layer of folders outside eslintrc.js!One layer of folders!One layer of folders!Too much will not be able to start


Life is endless, learning is endless, the keyboard is broken, and the monthly salary exceeds 10,000!Come on, coders!

原网站

版权声明
本文为[Salted fish chai also has the dream of a big factory]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/221/202208090542310088.html