mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-18 20:30:08 +08:00
Enhanced .vscode/settings.json with file nesting patterns, formatting preferences, auto-save behavior, and import specifier options for JavaScript and TypeScript. Removed old debug source map overrides to streamline workspace configuration.
37 lines
1.5 KiB
JSON
37 lines
1.5 KiB
JSON
{
|
|
"explorer.fileNesting.enabled": true,
|
|
"explorer.fileNesting.expand": false,
|
|
"explorer.fileNesting.patterns": {
|
|
".env.universal": ".env.*",
|
|
"vite.config.ts": "vite*.ts",
|
|
"README.md": "CODE_OF_CONDUCT.md, RELEASES.md, CONTRIBUTING.md, CHANGELOG.md, SECURITY.md",
|
|
"tsconfig.json": "tsconfig.*.json, env.d.ts",
|
|
"package.json": "package-lock.json, eslint*, .prettier*, .editorconfig, manifest.json, logo.png, .gitignore, LICENSE"
|
|
},
|
|
"css.customData": [
|
|
".vscode/tailwindcss.json"
|
|
],
|
|
"editor.detectIndentation": false,
|
|
"editor.tabSize": 2,
|
|
"editor.formatOnSave": true,
|
|
"editor.formatOnType": false,
|
|
"editor.formatOnPaste": true,
|
|
"editor.formatOnSaveMode": "file",
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll.eslint": "always"
|
|
},
|
|
"files.autoSave": "onFocusChange",
|
|
"javascript.preferences.quoteStyle": "single",
|
|
"typescript.preferences.quoteStyle": "single",
|
|
"javascript.format.semicolons": "insert",
|
|
"typescript.format.semicolons": "insert",
|
|
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
|
|
"typescript.format.insertSpaceBeforeFunctionParenthesis": true,
|
|
"typescript.format.insertSpaceAfterConstructor": true,
|
|
"javascript.format.insertSpaceAfterConstructor": true,
|
|
"typescript.preferences.importModuleSpecifier": "non-relative",
|
|
"typescript.preferences.importModuleSpecifierEnding": "minimal",
|
|
"javascript.preferences.importModuleSpecifier": "non-relative",
|
|
"javascript.preferences.importModuleSpecifierEnding": "minimal",
|
|
"typescript.disableAutomaticTypeAcquisition": true
|
|
} |