diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..ba87a6d --- /dev/null +++ b/.editorconfig @@ -0,0 +1,21 @@ +root = true + +; Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 + +; Golang +[*.go] +indent_style = tab +indent_size = 4 +trim_trailing_whitespace = true +insert_final_newline = true + +; YAML +[*.yaml] +indent_style = space +indent_size = 2 +trim_trailing_whitespace = true +insert_final_newline = true