From af913204aab70a291eb9a2d8d75b1231eb8ae1e3 Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Tue, 22 Oct 2024 07:24:14 +1300 Subject: [PATCH] chore: add `.editorconfig` file Signed-off-by: Gareth Jones --- .editorconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..3aacb4d --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +# EditorConfig helps developers define and maintain consistent +# coding styles between different editors and IDEs +# editorconfig.org + +root = true + +[*] +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +indent_style = space +indent_size = 2 + +[*.go] +indent_style = tab