当前位置:网站首页>VScode安装了ESlint以后不管用、不生效的解决办法
VScode安装了ESlint以后不管用、不生效的解决办法
2022-08-09 05:42:00 【咸鱼柴也有大厂梦】
1.安装的ESlint版本太高,和项目不兼容,C站有讲类似的,这里就不过多
2.setting.json没配置好,以下提供本人的配置供作参考
"editor.codeActionsOnSave": {
"source.fixAll": true
},
"eslint.alwaysShowStatus": true,
"eslint.format.enable": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.inlineSuggest.enabled": true,3.我自己没成功的原因:eslintrc.js外面只能有一层文件夹!一层文件夹!一层文件夹!多了就无法启动了

生命不息,学习不止,键盘敲烂,月薪过万!加油,代码人!
边栏推荐
猜你喜欢
随机推荐
【过一下18】超参数优化
74HC595 的使用
获取开发版安全码SHA1时遇到的报错
IDEA05:线程管理
2,C#的数据类型
第三章搜索与图论(一)
Storage System Architecture Evolution
2022-08-08 第四小组 修身课 学习笔记(every day)
C Advanced - Program Compilation (Preprocessing) + Linking
A day to learn a public company: Sophia
Still don't know what business intelligence (BI) is?After reading this article, you will understand
中断系统结构及中断控制详解
【Word】Word 正文中同时加上下标
【计算机网络-哈工大】---学习笔记(下)---(二)Web安全威胁、SSL\IPsec、虚拟专用网、防火墙
Lock wait timeout exceeded; try restarting transaction 更新数据量范围太大,导致锁表惨案
机器人大赛总结
牛客每日刷题之链表
找两个单身狗
shell函数
Hhhhgffsb









