From 178ca3289b9c2dc35b7c553b2989443a421747d5 Mon Sep 17 00:00:00 2001 From: Jasmerah1966 Date: Wed, 3 Jul 2024 23:17:04 +0700 Subject: [PATCH] chore: Added `.editorconfig` --- .editorconfig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..44b861a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,20 @@ +; https://editorconfig.org/ + +root = true + +[*] +trim_trailing_whitespace = true +indent_style = space +indent_size = 2 + +[{Makefile,go.mod,go.sum,*.go}] +indent_style = tab +indent_size = 4 + +[*.md] +indent_size = 4 +trim_trailing_whitespace = false + +[{*.yml,*.yaml}] +indent_style = space +indent_size = 2