From 91ed7f25e154e424f968f17d040c3dc0b9e69d95 Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Sun, 9 Mar 2025 19:26:32 -0600 Subject: [PATCH] chore: add `.editorconfig` Signed-off-by: Matthew Penner --- .editorconfig | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..8c6ba4c --- /dev/null +++ b/.editorconfig @@ -0,0 +1,21 @@ +root = true + +[*] +indent_style = tab +indent_size = 4 +tab_width = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.go] +max_line_length = 100 + +[*.md] +trim_trailing_whitespace = false + +[*.{md,nix,yaml}] +indent_style = space +indent_size = 2 +tab_width = 2