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.
This commit is contained in:
Yury Pikhtarev 2025-06-23 17:08:43 +04:00
commit 216a51902c
No known key found for this signature in database

View file

@ -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