prettier code template added

This commit is contained in:
Roger Sikorski 2022-09-04 12:43:57 +02:00
parent c6a55eb2d5
commit 446eb3e03e
Signed by: RogerSik
GPG Key ID: 207958C85208EAC4
2 changed files with 23 additions and 0 deletions

12
.editorconfig Normal file
View File

@ -0,0 +1,12 @@
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = crlf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

11
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,11 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.formatOnPaste": false,
"[terraform]": {
"editor.defaultFormatter": "hashicorp.terraform"
},
"vs-kubernetes": {
"disable-linters": ["resource-limits"]
}
}