From 5ec9355c45b03a0599f1056ea2117dfaa31f8051 Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Mon, 25 Dec 2023 14:35:17 -0500 Subject: [PATCH] Add .editorconfig --- dot_editorconfig | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 dot_editorconfig diff --git a/dot_editorconfig b/dot_editorconfig new file mode 100644 index 0000000..6e40cb6 --- /dev/null +++ b/dot_editorconfig @@ -0,0 +1,23 @@ +; https://editorconfig.org/ + +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[{Makefile,go.mod,go.sum,*.go,.gitmodules}] +indent_style = tab +indent_size = 4 + +[*.md] +indent_size = 4 +trim_trailing_whitespace = false + +[{Dockerfile,*.bash,*.sh}] +indent_style = space +indent_size = 4