chore: configure terraform formatting (#6092)

in the devcontainer.
This commit is contained in:
Marco Ferrari 2024-08-30 19:33:46 +02:00 committed by GitHub
parent ad0ff68c52
commit dd33b476f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,12 +5,21 @@
"vscode": { "vscode": {
"settings": { "settings": {
"editor.defaultFormatter": "esbenp.prettier-vscode", "editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file",
"editor.wordWrap": "off", "editor.wordWrap": "off",
"prettier.resolveGlobalModules": true "prettier.resolveGlobalModules": true,
"[terraform]": {
"editor.defaultFormatter": "hashicorp.terraform"
},
"[terraform-vars]": {
"editor.defaultFormatter": "hashicorp.terraform"
}
}, },
"extensions": [ "extensions": [
"DavidAnson.vscode-markdownlint", "DavidAnson.vscode-markdownlint",
"EditorConfig.EditorConfig", "EditorConfig.EditorConfig",
"HashiCorp.terraform",
"esbenp.prettier-vscode", "esbenp.prettier-vscode",
"GitHub.vscode-github-actions", "GitHub.vscode-github-actions",
"GitHub.vscode-pull-request-github", "GitHub.vscode-pull-request-github",