Skip to content

Commit a958510

Browse files
haoqunjiangcexbrayat
authored andcommitted
feat: add vscode file nesting config to base template
We now have *a lot* of configuration files at the project's root. It would help to have them grouped in the editor. Many people aren't aware of this feature, so I'm adding a default configuration to the base template to raise awareness. This is a very rudimentary configuration; only patterns relevant to this project are included. Users can customize it further themselves. Or they can use a more advanced share configuration like https://github.com/antfu/vscode-file-nesting-config
1 parent 04ae802 commit a958510

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

template/base/.vscode/settings.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
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+
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy