当前位置:网站首页>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外面只能有一层文件夹!一层文件夹!一层文件夹!多了就无法启动了
生命不息,学习不止,键盘敲烂,月薪过万!加油,代码人!
边栏推荐
猜你喜欢
【Word】Add subscripts to the text of Word at the same time
C语言之内存函数
ELTEK电源维修SMPS5000SIL整流器模块故障分析及特点
Xray - powerful vulnerability scanning tools
Getting Started with MATLAB Image Processing
RT201 Domestic PA RF Power Amplifier Compatible with RFX2401C
Transaction rolled back because it has been marked as rollback-only
力扣349-两个数组的交集——HashSet
站点到站点的流量监控
【微信小程序】5分钟实现微信小程序海报
随机推荐
Chapter7、基于图像的光照
Chapter 7. Image-based lighting
绕过反调试fuck-debugger
【Word】Word 正文中同时加上下标
多字段关联校验
查询的结果封装到实体类中并使用集合储存
Software testing method is introduced in detail
5G对物流行业的积极影响
学习一下 常说的节流
三剑客进阶
筑牢安全“防火墙”河南通许县冯庄乡开展消防培训
pytorch实现GAN入门案例
字符串的方法
LDO和DC-DC的区别
使用Redis zset做消息队列
cglib获取不到接口注解
C Advanced - Program Compilation (Preprocessing) + Linking
力扣349-两个数组的交集——HashSet
步进电机驱动的使用及程序
剑指Offer-双指针类型题目总结