From 3ddc79ed14cf5d5e441413921a1d5442e9cbbf49 Mon Sep 17 00:00:00 2001 From: Johannes Ewald Date: Sun, 9 Feb 2025 00:25:38 +0100 Subject: [PATCH] chore: Update VSCode settings --- .vscode/settings.json | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 7eb2430..cb63b5a 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,11 +1,32 @@ { + "search.exclude": { + "node_modules": true, + "dist": true, + ".git": true, + ".eslintcache": true + }, + "files.exclude": { + "**/.DS_Store": true + }, + "explorer.fileNesting.enabled": true, + "explorer.fileNesting.patterns": { + "*.ts": "$(capture).*", + ".env": ".env.*", + ".env.*": ".env.${capture}.local", + "package.json": "bun.lockb, package-lock.json, pnpm-lock.yaml, yarn.lock, .npmrc", + "tsconfig.json": "tsconfig.*.json, tsconfig.tsbuildinfo", + "tsconfig.tsbuildinfo": "tsconfig.*.tsbuildinfo" + }, "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.formatOnSave": true, "editor.codeActionsOnSave": { "source.fixAll.eslint": "explicit" }, - "javascript.preferences.importModuleSpecifier": "shortest", - "javascript.preferences.importModuleSpecifierEnding": "js", - "typescript.preferences.importModuleSpecifier": "shortest", - "typescript.preferences.importModuleSpecifierEnding": "js" + "typescript.tsdk": "./node_modules/typescript/lib", + "eslint.validate": [ + "javascript", + "javascriptreact", + "typescript", + "typescriptreact" + ] }