Code style: update `.editorconfig` file to match PSR-12

Details:
- split filetype sections to separate sections per file type
- update PHP section to match PSR-12 standard
This commit is contained in:
Krzysztof Sikorski 2022-03-25 22:40:56 +01:00
parent 57a14ded51
commit e96a304959
Signed by: krzysztof-sikorski
GPG Key ID: 4EB564BD08FE8476
1 changed files with 16 additions and 4 deletions

View File

@ -8,9 +8,21 @@ trim_trailing_whitespace = true
indent_style = space
indent_size = 2
[*.{php,html,twig,yaml}]
indent_style = space
indent_size = 4
[*.md]
max_line_length = 80
[*.html]
indent_size = 4
[*.php]
# settings required by PSR-12 standard
end_of_line = LF
indent_style = space
indent_size = 4
max_line_length = 120
[*.twig]
indent_size = 4
[*.yaml]
indent_size = 4