From 52411f61ef25a1b11129a77d26d987f44c6ea543 Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Sun, 21 Apr 2024 21:12:16 +0200 Subject: [PATCH] add vs code settings --- .vscode/extensions.json | 10 ++++++++++ .vscode/settings.json | 28 ++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 .vscode/extensions.json diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 00000000..8d18dfe8 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,10 @@ +{ + "recommendations": [ + "bradlc.vscode-tailwindcss", + "dbaeumer.vscode-eslint", + "esbenp.prettier-vscode", + "hollowtree.vue-snippets", + "vue.volar", + "wscats.vue", + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json index 432ea387..f262d050 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,31 @@ { "eslint.experimental.useFlatConfig": true, + "prettier.tabWidth": 4, + "prettier.printWidth": 120, + "vue3snippets.semi": false, + "vue3snippets.singleQuote": true, + "vue3snippets.jsxSingleQuote": true, + "vue3snippets.printWidth": 120, + "vue3snippets.tabWidth": 4, + "prettier.jsxSingleQuote": true, + "prettier.semi": false, + "prettier.singleQuote": true, + "[css]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[html]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[javascript]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[scss]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[vue]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[typescript]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, }