当前位置:网站首页>Vscode configures eslint to automatically format with an error "the setting is deprecated. use editor.codeactionsonsave instead with a source“
Vscode configures eslint to automatically format with an error "the setting is deprecated. use editor.codeactionsonsave instead with a source“
2022-06-11 17:20:00 【Boale_ H】
vscode To configure eslint Auto format error "The setting is deprecated. Use editor.codeActionsOnSave instead with a source.fixAll.eslint member."
background
In our configuration vscode Automatic basis eslint When formatting code , Report errors The setting is deprecated. Use editor.codeActionsOnSave instead with a source.fixAll.eslint member., intend : This setting is deprecated . take editor.codeActionsOnSave And source.fixAll.eslint Use with members .
terms of settlement
The solution is shown in the prompt , Delete "eslint.autoFixOnSave": true, , use editor.codeActionsOnSave Instead of
{
"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
}
}
边栏推荐
- API management artifact that allows you to call wow directly
- Export data prompt -- solution to the problem of secure file priv option
- Classic reading of multi task learning: MMOE model
- mysql 大表的拆分方式
- Database backup (MySQL)
- LeetCode-1005. Maximized array sum after K negations
- Environment configuration and pymysql installation
- Recyclerview cache reuse analysis, source code interpretation
- A simple understanding of closures
- Oracle database merge row records, wmsys WM_ Use of the concat function and group in MySQL_ Use and comparison of concat (ID).
猜你喜欢

C语言:使用.h和.c文件遇到的问题总结

From a "trendsetter" to a "wind chaser", can master Kang still lead the market?

Katalon Studio Enterprise

JINTE NET基金会将通过线上直播参与维度链全球战略发布会

Using MATLAB and dcraw to process digital camera raw files

The use of histogram function in MATLAB

一套ThinkPHP微信小程序商城源码带后台管理

Is the second-class cost engineer worth the exam? What is the development prospect?
![[pytest learning] after the pytest case fails to execute, the others will not be executed](/img/c7/52ae88cde65bdd12ae8b86df5c477f.png)
[pytest learning] after the pytest case fails to execute, the others will not be executed

Development planning of China's stainless steel market and suggestions on the development direction of the 14th five year plan 2022-2028
随机推荐
Elasitcsearch基础学习笔记(1)
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
DFS and BFS notes (I) breadth first search based on C language
vscode配置eslint自动格式化报错“Auto Fix is enabled by default. Use the single string form“
Pychart tips - how to set up a background picture
《DAMA数据管理知识体系指南》:章节分值占比
Is it safe for Xiaobai to open an account directly on the flush?
啟牛商學院給的證券賬戶是安全的嗎?開戶收費嗎
Derivation of child numbering formula for nodes numbered I in full k-ary tree
Characteristics of interfaces & comparison between interfaces and abstract classes
Switching power supply circuit diagram and principle 12V analysis - detailed version
seed-emulator下进行sql注入攻击(含sql环境配置)
JSP page initial loading method
搜狐全員遭詐騙,暴露哪些問題?
一套ThinkPHP微信小程序商城源码带后台管理
Oracle database merge row records, wmsys WM_ Use of the concat function and group in MySQL_ Use and comparison of concat (ID).
Research Report on operation mode and investment opportunities of China's aluminum industry 2022-2028
Authing 双周动态:Authing 论坛上线(4.25-5.8)
ASP.NET教育OA系统源码 教育行业OA系统源码带文档