From 9422f13e7cc80ee5754dd174367ec77bd12b7c3a Mon Sep 17 00:00:00 2001 From: Maxim Lebedev Date: Mon, 22 Jan 2024 08:00:24 +0600 Subject: [PATCH] :wrench: Added EditorConfig --- .editorconfig | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..665a401 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,23 @@ +; https://EditorConfig.org/ +root = true + +[*] +charset = utf-8 +end_of_line = lf +trim_trailing_whitespace = true + +[*.{css,js,html}] +indent_size = 2 +indent_style = space +insert_final_newline = true + +[*.go] +charset = utf-8 +end_of_line = lf +indent_size = 8 +indent_style = tab +trim_trailing_whitespace = true + +[*.golden] +insert_final_newline = false +trim_trailing_whitespace = false