当前位置:网站首页>Vscode configures eslint to automatically format an error "auto fix is enabled by default. use the single string form“
Vscode configures eslint to automatically format an error "auto fix is enabled by default. use the single string form“
2022-06-11 17:20:00 【Boale_ H】
vscode To configure eslint Auto format error "Auto Fix is enabled by default. Use the single string form"
background
In our configuration vscode Automatic basis eslint When formatting code , Report errors Auto Fix is enabled by default. Use the single string form, intend : Auto repair is enabled by default . Use single string form 
terms of settlement
The solution is shown in the prompt , Delete "autoFix": true,, Configure the file type to be verified in the form of a single string
{
"search.followSymlinks": false,
"editor.tabSize": 2,
// To configure eslint
"eslint.validate": [
"javascript", // use eslint Rule detection for js file
"javascriptreact",
"vue",
"html",
],
// Enable auto repair on save eslint, Only supported by default .js file
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
}
边栏推荐
- Research Report on operation mode and investment opportunities of China's aluminum industry 2022-2028
- Connection and difference of network streaming media protocol (RTP RTCP RTMP HLS)
- Kernel density estimation (2D, 3D)
- 活动 | Authing 首次渠道合作活动圆满落幕
- Characteristics of interfaces & comparison between interfaces and abstract classes
- Intranet penetration based on UDP port guessing
- RecyclerView缓存复用解析,源码解读
- error:指针作为函数参数错误总结
- ShellBrowser . NET Crack
- Chip mass production, oppo entering a new era?
猜你喜欢

Authing CEO 谢扬入选福布斯 2021 年 30 Under 30 亚洲榜单

API management artifact that allows you to call wow directly

Katalon Studio Enterprise

Create database instance

Jinte Net Foundation will participate in the global strategy conference of dimension chain through online live broadcast

Sohu tout le personnel a été escroqué, quels problèmes ont été exposés?

【opencvsharp】opencvsharp_ samples. Core sample code Notes

Axi protocol Basics

Xie Yang, CEO of authing, was selected into Forbes' 30 under 30 Asia list in 2021

Tornado environment construction and basic framework construction -- familiar Hello World
随机推荐
Is the second-class cost engineer worth the exam? What is the development prospect?
What products are good for cross-border e-commerce? What are the top selling categories?
LeetCode-1005. K 次取反后最大化的数组和
JINTE NET基金会将通过线上直播参与维度链全球战略发布会
Authing CEO 谢扬入选福布斯 2021 年 30 Under 30 亚洲榜单
Meituan won the first place in fewclue in the small sample learning list! Prompt learning+ self training practice
JPA failed to save multiple entities circularly
Oracle database merge row records, wmsys WM_ Use of the concat function and group in MySQL_ Use and comparison of concat (ID).
7 life tools: SWOT, PDCA, 6w2h, smart, WBS, time management, and the 28 principles
WYSIWYG markdown editor: typora
所见即所得的 markdown 编辑器:Typora
[Clickhouse column] create a new library, user and role
Read and understand the development plan for software and information technology service industry during the "14th five year plan"
error:指针作为函数参数错误总结
Redis - learn five types of NoSQL
JPA循环保存多个实体失败
Analysis report on future development trend and investment suggestions of global and Chinese soybean protein industry 2022-2028
RecyclerView缓存复用解析,源码解读
Solr (I) installation and permission control of Solr
闭包的简单理解