mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-24 15:15:46 -07:00
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:
parent
da19faf043
commit
216a51902c
1 changed files with 9 additions and 10 deletions
|
@ -1,19 +1,18 @@
|
||||||
# EditorConfig helps developers define and maintain consistent
|
|
||||||
# coding styles between different editors and IDEs
|
|
||||||
# editorconfig.org
|
|
||||||
|
|
||||||
root = true
|
root = true
|
||||||
|
|
||||||
[*]
|
[*]
|
||||||
end_of_line = lf
|
|
||||||
charset = utf-8
|
charset = utf-8
|
||||||
trim_trailing_whitespace = true
|
end_of_line = lf
|
||||||
insert_final_newline = true
|
indent_size = 4
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 2
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
[*.{diff,md}]
|
[*.md]
|
||||||
trim_trailing_whitespace = false
|
trim_trailing_whitespace = false
|
||||||
|
|
||||||
[*.{php,tpl}]
|
[*.{yml,yaml}]
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
[docker-compose.yml]
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue