当前位置:网站首页>Resolve the conflict with vetur when using eslint, resulting in double quotation marks and comma at the end of saving
Resolve the conflict with vetur when using eslint, resulting in double quotation marks and comma at the end of saving
2022-07-29 02:09:00 【Hash hip hop】
terms of settlement
stay settings.json Add the following code to :
"editor.formatOnSave": true, // Format file on save
// solve vetur Plug in problems
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
"wrap_attributes": "force-aligned"
},
"prettyhtml": {
"printWidth": 100,
"singleQuote": false,
"wrapAttributes": false,
"sortAttributes": true
},
// --- solve the problem ---
"prettier": {
"trailingComma": "none", // Do not add commas at the end , This is very important . For a long time
"semi": false, // Remove the semicolon at the end of the code
"singleQuote": true // Use single quotes instead of double quotes
}
// --- solve the problem ---
},
边栏推荐
- 使用本地缓存+全局缓存实现小型系统用户权限管理
- [WesternCTF2018]shrine
- 数学建模——红酒品质分类
- 关于字符串处理的相关函数记录(长期更新)
- MySQL high performance optimization notes (including 578 pages of notes PDF document), collected
- Leetcode 113: path sum II
- ciscn 2022 华中赛区 misc
- Blind separation of speech signals based on ICA and DL
- Mobile communication -- simulation model of error control system based on convolutional code
- Sigma-DSP-OUTPUT
猜你喜欢

Understand the working principle of timer in STM32 in simple terms
![[the road of Exile - Chapter 5]](/img/ef/7ecc1cb4a95c613f7be91f7acc761c.png)
[the road of Exile - Chapter 5]

(arxiv-2018) 重新审视基于视频的 Person ReID 的时间建模

Using local cache + global cache to realize user rights management of small systems

Mathematical modeling -- cold proof simulation of low temperature protective clothing with phase change materials

基于 ICA 与 DL 的语音信号盲分离

Thirty years of MPEG audio coding

Force deduction brush question (2): sum of three numbers

MySQL high performance optimization notes (including 578 pages of notes PDF document), collected
![[WesternCTF2018]shrine](/img/c1/c099f8930902197590052630281258.png)
[WesternCTF2018]shrine
随机推荐
Sharpness evaluation method without reference image
Lm13 morphological quantification momentum period analysis
[UE4] replay game playback for ue4.26
Wonderful use of data analysis
Introduction to shared data center agent
Control the pop-up window and no pop-up window of the input box
2022年编程语言排名,官方数据来了,让人大开眼界
FPGA实现10M多功能信号发生器
Solution of Lenovo notebook camera unable to open
Promise解决异步
Anti crawler mechanism solution: JS code generates random strings locally
leetcode/和大于等于target的连续最短子数组
Planning mathematics final simulation exam I
12.< tag-动态规划和子序列, 子数组>lt.72. 编辑距离
Sigma-DSP-OUTPUT
【流放之路-第三章】
Planning mathematics final exam simulation II
The number of consecutive subarrays whose leetcode/ product is less than k
MySQL high performance optimization notes (including 578 pages of notes PDF document), collected
Js DOM2 和 DOM3