项目文件夹

文件
2026-07-13 12:30:52 +08:00

40 行
1.0 KiB
JSON

{
"editor.formatOnSave": false, // 每次保存的时候将代码按eslint格式进行修复
"eslint.validate": [
//开启对.vue文件中错误的检查
"javascript",
"javascriptreact",
"html",
"vue",
{
"language": "typescript",
"autoFix": true
},
{
"language": "html",
"autoFix": true
},
{
"language": "vue",
"autoFix": true
}
],
"search.exclude": {
"**/node_modules": true,
"**/cdn": true,
"**/npm": true
},
"eslint.autoFixOnSave": true,
"typescript.validate.enable": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"path-intellisense.mappings": {
"cnchar": "${workspaceRoot}/src/cnchar/main/*",
"cnchar-types": "${workspaceRoot}/src/cnchar-types/*",
"@cnchar-plugin": "${workspaceRoot}/src/cnchar/plugin/*",
"@common": "${workspaceRoot}/src/cnchar/common/*",
"testUtils": "${workspaceRoot}/helper/testUtils/*",
}
}