From 127b14773731c5fab4999f79681823ed597d8b69 Mon Sep 17 00:00:00 2001 From: a-wing <1@233.email> Date: Sat, 30 Dec 2023 23:17:05 +0800 Subject: [PATCH] chore: add .editorconfig --- .editorconfig | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..8aaff7a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +root = true + +[*] +charset = utf-8 +indent_style = space +indent_size = 2 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[{Makefile,go.mod,go.sum,*.go}] +indent_style = tab +indent_size = 2