From e1735b65b5b002048d71069ee2ba51cd0bb9ce45 Mon Sep 17 00:00:00 2001 From: BracketJohn Date: Wed, 1 Mar 2023 17:31:26 +0100 Subject: [PATCH] feat: add some basic recommendations for vscode users to make the start of this project easier --- .vscode/extensions.json | 6 ++++++ .vscode/settings.json | 19 +++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 .vscode/extensions.json create mode 100644 .vscode/settings.json diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 00000000..2035990e --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,6 @@ +{ + "recommendations": [ + "editorconfig.editorconfig", + "dbaeumer.vscode-eslint" + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..d8ac1e2f --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,19 @@ +{ + // Use `eslint` for vue, ts and js + "editor.codeActionsOnSave": { + "source.fixAll.eslint": true + }, + "[js]": { + "editor.defaultFormatter": "dbaeumer.vscode-eslint" + }, + "[ts]": { + "editor.defaultFormatter": "dbaeumer.vscode-eslint" + }, + "[typescript]": { + "editor.defaultFormatter": "dbaeumer.vscode-eslint" + }, + "eslint.validate": [ + "javascript", + "typescript" + ] +}