From 56e978ac28cd05d7a619851fe8b21da5e9b36dc9 Mon Sep 17 00:00:00 2001 From: surtur Date: Fri, 5 Aug 2022 16:29:27 +0200 Subject: [PATCH] add .editorconfig [skip ci] --- .editorconfig | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..9d104a0 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,31 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf + +# starlark +[*.star] +indent_style = tab +indent_size = 4 +tab_width = 4 + +# go files (excluding templates) +[*.{go,mod,sum}] +indent_style = tab +indent_size = 4 +tab_width = 4 + +[*.nix] +indent_style = space +indent_size = 2 + +[*.svg] +insert_final_newline = false + +[*.md] +trim_trailing_whitespace = false + +[*.{yaml,yml}] +indent_style = space +indent_size = 2