From 9dc1b7e54bb5b56da63c2954b7121499fb658c32 Mon Sep 17 00:00:00 2001 From: Jason Kuhrt Date: Sat, 18 Feb 2023 08:49:30 -0500 Subject: [PATCH] chore: vscode settings for project --- .vscode/extensions.json | 3 +++ .vscode/settings.json | 15 ++++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 .vscode/extensions.json diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 000000000..4df8334c5 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,3 @@ +{ + "recommendations": ["esbenp.prettier-vscode", "dbaeumer.vscode-eslint", "orta.vscode-twoslash-queries"] +} diff --git a/.vscode/settings.json b/.vscode/settings.json index 25fa6215f..b017778bf 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,16 @@ { - "typescript.tsdk": "node_modules/typescript/lib" + "search.exclude": { + "**/build": true, + "**/__snapshots__": true, + "**/pnpm-lock.yaml": true, + "**/*.tsbuildinfo": true + }, + "typescript.tsdk": "node_modules/typescript/lib", + "typescript.enablePromptUseWorkspaceTsdk": true, + "editor.codeActionsOnSave": { + "source.addMissingImports": true, + "source.fixAll.eslint": true, + // Disable this because it will conflict with ESLint based import organizing. + "source.organizeImports": false + } }