From 342fb2e7cb45d1a229df45ed91c5fa9db81bc2f3 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Sun, 21 Jul 2024 23:51:28 +0300 Subject: [PATCH] meta: add editorconfig --- .editorconfig | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..ccf739f --- /dev/null +++ b/.editorconfig @@ -0,0 +1,29 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_style = space +indent_size = 4 +insert_final_newline = true +tab_width = 4 +trim_trailing_whitespace = true + +[*.md] +indent_style = space +indent_size = 2 +trim_trailing_whitespace = false + +[*.{nix,sh,yml,yaml}] +indent_style = space +indent_size = 2 +tab_width = 2 + +[*.{lock,diff,patch}] +indent_style = unset +indent_size = unset +insert_final_newline = unset +trim_trailing_whitespace = unset +end_of_line = unset + +