2025-12-25 11:20:56 +08:00
|
|
|
{
|
|
|
|
|
"explorer.fileNesting.enabled": true,
|
|
|
|
|
"explorer.fileNesting.patterns": {
|
|
|
|
|
"tsconfig.json": "tsconfig.*.json, env.d.ts",
|
|
|
|
|
"vite.config.*": "jsconfig*, vitest.config.*, cypress.config.*, playwright.config.*",
|
|
|
|
|
"package.json": "package-lock.json, pnpm*, .yarnrc*, yarn*, .eslint*, eslint*, .oxlint*, oxlint*, .prettier*, prettier*, .editorconfig"
|
|
|
|
|
},
|
|
|
|
|
"editor.codeActionsOnSave": {
|
2026-01-07 14:33:30 +08:00
|
|
|
"source.fixAll": "explicit",
|
|
|
|
|
"source.fixAll.eslint": "explicit"
|
2025-12-25 11:20:56 +08:00
|
|
|
},
|
|
|
|
|
"editor.formatOnSave": true,
|
2026-01-07 14:33:30 +08:00
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
|
|
|
"[javascript]": {
|
|
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
|
|
|
},
|
|
|
|
|
"[vue]": {
|
|
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
|
|
|
},
|
|
|
|
|
"[css]": {
|
|
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
|
|
|
},
|
|
|
|
|
"eslint.validate": [
|
|
|
|
|
"javascript",
|
|
|
|
|
"javascriptreact",
|
|
|
|
|
"vue"
|
|
|
|
|
],
|
|
|
|
|
"eslint.format.enable": false,
|
|
|
|
|
"prettier.documentSelectors": [
|
|
|
|
|
"**/*.vue",
|
|
|
|
|
"**/*.js",
|
|
|
|
|
"**/*.jsx",
|
|
|
|
|
"**/*.css",
|
|
|
|
|
"**/*.html"
|
|
|
|
|
]
|
2025-12-25 11:20:56 +08:00
|
|
|
}
|