diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..4706681 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,27 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +charset = utf-8 +indent_style = space +indent_size = 2 + +[*.{md,markdown}] +trim_trailing_whitespace = false # markdown uses trailing spaces for line breaks + +[Makefile] +indent_style = tab + +[*.go] +indent_style = tab + +[*.{sh,bash}] +indent_size = 4 + +[*.{py,pyi}] +indent_size = 4 + +[*.yaml] +indent_size = 2