From 1818f0aa5cf96302a82d96da7b25a45d84c30be9 Mon Sep 17 00:00:00 2001 From: Joao P Dubas Date: Sat, 10 Aug 2024 12:41:04 +0000 Subject: [PATCH] feat: improve editor config --- .editorconfig | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..be3dad1 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,22 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.{css,html,js,json}] +indent_style = space +indent_size = 2 + +[*.{ex,exs}] +indent_style = space +indent_size = 2 + +[*.go] +indent_style = tab +indent_size = 4 + +[*.py] +indent_style = space +indent_size = 4