diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 269dc29a6..04b3201e0 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,3 +1,9 @@ { - "recommendations": ["Vue.volar", "dbaeumer.vscode-eslint"] + "recommendations": [ + "Vue.volar", + "hashicorp.terraform", + "ms-azuretools.vscode-docker", + "dbaeumer.vscode-eslint", + "esbenp.prettier-vscode" + ] } diff --git a/usdr-gost.code-workspace b/usdr-gost.code-workspace index 7532fbbd1..afa1cfefa 100644 --- a/usdr-gost.code-workspace +++ b/usdr-gost.code-workspace @@ -18,12 +18,14 @@ "diffEditor.ignoreTrimWhitespace": false, "editor.columnSelection": false, "editor.find.cursorMoveOnType": true, - "eslint.debug":true, "javascript.format.enable": false, - "editor.formatOnSaveMode": "modifications", - "eslint.alwaysShowStatus": true, "editor.codeActionsOnSave": { - "source.fixAll.eslint": true + "source.fixAll.eslint": "explicit" }, + // We need to explicitly turn this off at the worksplace level to avoid + // competing user settings and workplace settings. We use VSCode's "codeActionsOnSave" + // to manage linting/fixing, but users can have other settings via "formatOnSave". + // If both are on, the editor can "fix" things that are immediately flagged as lint failures. + "editor.formatOnSave": false, } } \ No newline at end of file