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" + ] +}