diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..ce337628 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,23 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +indent_style = tab +tab_width = 4 + +[*.sh] +tab_width = 2 + +[*.md] +trim_trailing_whitespace = false + +[*.{yml,yaml,json,html}] +indent_style = space +indent_size = 2 + +[Dockerfile] + +[{*.go,Makefile,.gitmodules,go.mod,go.sum}]