From 304056a276d01fdca1b2b7fd6b70c5b39566889a Mon Sep 17 00:00:00 2001 From: James Prevett Date: Fri, 16 Aug 2024 07:46:34 -0500 Subject: [PATCH] Add format on save --- .gitignore | 1 - .vscode/settings.json | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .vscode/settings.json diff --git a/.gitignore b/.gitignore index 9664a02..d53184c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ node_modules -.vscode dist docs *.log diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..b0ab4c2 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,20 @@ +{ + "[yaml]": { + "editor.insertSpaces": true, + "editor.tabSize": 4 + }, + + "[javascript]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[typescript]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[json]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[jsonc]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "editor.formatOnSave": true +}