From d6db549eaafab7e952e8f60223f35ec30fe0e7b4 Mon Sep 17 00:00:00 2001 From: GenZmeY Date: Sat, 13 May 2023 02:22:17 +0300 Subject: [PATCH] add .editorconfig --- .editorconfig | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..6d0bef4 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,31 @@ +root = true + +# Global +[*] +indent_style = unset +indent_size = 4 +tab_width = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = unset + +# Source +[*.{sh,bash,dash,ksh}] +indent_style = tab +insert_final_newline = true + +[builder] +insert_final_newline = true + +# Other +[*.md] +trim_trailing_whitespace = false + +[*.yml] +indent_style = space +indent_size = 2 +insert_final_newline = true + +[*.{txt,cfg,conf}] +indent_style = tab