vscode-settings.json配置
程序员文章站
2022-05-23 19:51:06
...
vscode从插件库里安装eslint和prettier
点击左上角【文件】–>【首选项】–>【设置】
把下面的内容粘贴进去即可
{
"extensions.ignoreRecommendations": false,
"team.showWelcomeMessage": false,
"git.enableSmartCommit": true,
"vsicons.dontShowNewVersionMessage": true,
"git.autofetch": true,
"react.beautify.onSave": true,
"files.associations": {
"*.js": "javascriptreact"
},
"git.confirmSync": false,
"explorer.confirmDelete": false,
"[markdown]": {},
"eslint.enable": true,
"eslint.options": {
"extensions": [
".js",
".jsx",
".vue"
]
},
"eslint.validate": [
"javascript",
"javascriptreact",
{
"language": "vue",
"autoFix": true
}
],
"vetur.validation.template": false,
"eslint.autoFixOnSave": true,
"editor.tabSize": 2,
"jest.autoEnable": false,
"jest.pathToConfig": "./.jest.js",
"terminal.integrated.rendererType": "dom",
"window.zoomLevel": 0,
"editor.quickSuggestions": {
"strings": true
},
"diffEditor.renderSideBySide": true,
"files.autoSave": "afterDelay",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"editor.fontSize": 18,
"workbench.editorAssociations": [
]
}
上一篇: MyBatis框架(1) —— 入门案例
下一篇: web开发中获取的各种高度和宽度
推荐阅读
-
Spring Cloud微服务架构的构建:分布式配置中心(加密解密功能)
-
Centos7下mysql 8.0.15 安装配置图文教程
-
Linux下mysql 8.0.15 安装配置图文教程以及修改密码
-
Mybatis分页插件PageHelper的配置和简单使用方法(推荐)
-
Mybatis中的config.xml配置文件详细解析
-
mybatis学习笔记之mybatis注解配置详解
-
SpringBoot配置SwaggerUI访问404错误的解决方法
-
Spring boot外部配置(配置中心化)详解
-
12寸新MacBook升级了什么?MacBook配置参数及价格详细介绍
-
12英寸Retina MacBook正式发布 配置更强电池更耐用