From 53b2675949f9066f20607e686f5b28ef98fd1e79 Mon Sep 17 00:00:00 2001 From: Kevin Yu <31861128+yqlbu@users.noreply.github.com> Date: Sun, 14 May 2023 13:07:55 +0800 Subject: [PATCH] chore: add editorconfig (#85) * chore: add editorconfig * chore(editorconfig): ONLY apply config to *.go --- .editorconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..ca35182 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,10 @@ +#editorconfig.org +root = true + +[*.go] +indent_style = space +indent_size = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true