Skip to content

Commit 71c6f14

Browse files
committed
Add VS Code settings to the generated project
1 parent 8992b9c commit 71c6f14

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"recommendations": [
3+
"Vue.volar",
4+
"vitest.explorer",
5+
<%_ if (config.includeEsLint) { _%>
6+
"dbaeumer.vscode-eslint",
7+
<%_ } _%>
8+
"EditorConfig.EditorConfig"
9+
]
10+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"explorer.fileNesting.enabled": true,
3+
"explorer.fileNesting.patterns": {
4+
"tsconfig.json": "tsconfig.*.json, env.d.ts",
5+
"vite.config.*": "jsconfig*, vitest.config.*, cypress.config.*, playwright.config.*",
6+
"package.json": "package-lock.json, pnpm*, .yarnrc*, yarn*, .eslint*, eslint*, .prettier*, prettier*, .editorconfig"
7+
},
8+
<%_ if (config.includeEsLint) { _%>
9+
"editor.codeActionsOnSave": {
10+
"source.fixAll": "explicit"
11+
}
12+
<%_ } _%>
13+
}

0 commit comments

Comments
 (0)