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:
parent
57a14ded51
commit
e96a304959
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue