add top-level .editorconfig; improve app/.editorconfig

Signed-off-by: Gaetano Giunta <giunta.gaetano@gmail.com>
This commit is contained in:
Gaetano Giunta
2026-05-20 10:46:15 +00:00
parent abbe6a85cf
commit 379b3d9e5a
2 changed files with 20 additions and 9 deletions

18
.editorconfig Normal file
View File

@@ -0,0 +1,18 @@
# https://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.yaml]
indent_size = 2
[*.yml]
indent_size = 2

View File

@@ -1,19 +1,12 @@
# https://editorconfig.org
# note: the files in ./composer actually use 4 spaces instead of tabs
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true
[*.feature]
indent_size = 2
indent_style = space
[*.yml]
indent_size = 2
indent_style = space