From 446eb3e03e1feb9db61d4eb422d3ea1c529a2cae Mon Sep 17 00:00:00 2001 From: Roger Sikorski Date: Sun, 4 Sep 2022 12:43:57 +0200 Subject: [PATCH] prettier code template added --- .editorconfig | 12 ++++++++++++ .vscode/settings.json | 11 +++++++++++ 2 files changed, 23 insertions(+) create mode 100644 .editorconfig create mode 100644 .vscode/settings.json diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..522e010 --- /dev/null +++ b/.editorconfig @@ -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 \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..3b72141 --- /dev/null +++ b/.vscode/settings.json @@ -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"] + } +}