diff --git a/.gitignore b/.gitignore index ad269d7..4a0a56f 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,6 @@ node_modules .vscode-test/ .vscode-test-web/ *.vsix + +# Local settings for Visual Studio Code +.vscode/settings.json diff --git a/.vscode/recommended_settings.json b/.vscode/recommended_settings.json new file mode 100644 index 0000000..1b8aabf --- /dev/null +++ b/.vscode/recommended_settings.json @@ -0,0 +1,21 @@ +// Copy and rename this file to `settings.json` to use the recommended settings or use your own. +{ + "[json]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[jsonc]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.formatOnSave": true, + "editor.codeActionsOnSave": { + "source.fixAll.eslint": "explicit" + }, + "gitlens.advanced.blame.customArguments": ["--ignore-revs-file", ".git-blame-ignore-revs"], + "typescript.tsdk": "node_modules/typescript/lib", + "[typescript]": { + "editor.codeActionsOnSave": { + "source.organizeImports": "explicit" + } + } +} diff --git a/.vscode/settings.json b/.vscode/settings.json index b02afd5..047fd4f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -9,8 +9,13 @@ "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.formatOnSave": true, "editor.codeActionsOnSave": { - "source.fixAll.eslint": true + "source.fixAll.eslint": "explicit" }, "gitlens.advanced.blame.customArguments": ["--ignore-revs-file", ".git-blame-ignore-revs"], - "typescript.tsdk": "node_modules/typescript/lib" + "typescript.tsdk": "node_modules/typescript/lib", + "[typescript]": { + "editor.codeActionsOnSave": { + "source.organizeImports": "explicit" + } + } }