From 216a51902cd1d5142453f15bf0c4c88ec5bb062f Mon Sep 17 00:00:00 2001 From: Yury Pikhtarev Date: Mon, 23 Jun 2025 17:08:43 +0400 Subject: [PATCH] chore: update .editorconfig for consistent coding styles This commit modifies the .editorconfig file to standardize indentation and whitespace settings across the project. Changes include setting the indent size to 4 spaces for general files and 2 spaces for YAML files, while ensuring trailing whitespace is trimmed and final newlines are inserted consistently. --- .editorconfig | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.editorconfig b/.editorconfig index ddde48ba4..8f0de65c5 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,19 +1,18 @@ -# EditorConfig helps developers define and maintain consistent -# coding styles between different editors and IDEs -# editorconfig.org - root = true [*] -end_of_line = lf charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true +end_of_line = lf +indent_size = 4 indent_style = space -indent_size = 2 +insert_final_newline = true +trim_trailing_whitespace = true -[*.{diff,md}] +[*.md] trim_trailing_whitespace = false -[*.{php,tpl}] +[*.{yml,yaml}] +indent_size = 2 + +[docker-compose.yml] indent_size = 4