From e4b076663ae8e12eaa1bda06b34231801b494801 Mon Sep 17 00:00:00 2001 From: "A.Fink" Date: Sun, 22 Jun 2025 14:45:59 +0300 Subject: [PATCH 1/2] initial .editorconfig to force formatting rules --- .editorconfig | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..c90e4521 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,23 @@ +# EditorConfig is awesome: https://EditorConfig.org + +root = true + +[*] +charset = utf-8 +indent_style = tab +trim_trailing_whitespace = true +end_of_line = lf +insert_final_newline = false +spaces_around_operators = true +tab_width = 2 +indent_size = 2 + +ij_continuation_indent_size = 2 +ij_any_align_multiline_parameters = false + +[*.yaml] +indent_style = space +tab_width = 2 +[*.yml] +indent_style = space +tab_width = 2 \ No newline at end of file From 3cf54a882bc85383b3ace86589a572e5fbf326dd Mon Sep 17 00:00:00 2001 From: "A.Fink" Date: Sun, 22 Jun 2025 14:51:05 +0300 Subject: [PATCH 2/2] fix ident width from 2 to 4 (only visual appearance: tab character is used) --- .editorconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.editorconfig b/.editorconfig index c90e4521..54eb6e0d 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,10 +9,10 @@ trim_trailing_whitespace = true end_of_line = lf insert_final_newline = false spaces_around_operators = true -tab_width = 2 -indent_size = 2 +tab_width = 4 +indent_size = 4 -ij_continuation_indent_size = 2 +ij_continuation_indent_size = 8 ij_any_align_multiline_parameters = false [*.yaml]