mirror of
https://github.com/php/php-src.git
synced 2024-11-25 19:05:31 +08:00
aa143515d6
Added support for .awk, .w32, .bat, .mk, .frag, .m4, .sh, .php, .phpt, and Markdown files based on the current most used coding style in the php-src repository.
36 lines
867 B
INI
36 lines
867 B
INI
# http://editorconfig.org/
|
|
|
|
root = true
|
|
|
|
[*.{c,h,awk,w32,bat,mk,frag}]
|
|
charset = utf-8
|
|
end_of_line = lf
|
|
indent_size = 4
|
|
indent_style = tab
|
|
tab_width = 4
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
|
|
[*.{php,phpt}]
|
|
charset = utf-8
|
|
end_of_line = lf
|
|
indent_size = 4
|
|
indent_style = space
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
|
|
[*.{yml,m4,sh}]
|
|
charset = utf-8
|
|
end_of_line = lf
|
|
indent_size = 2
|
|
indent_style = space
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
|
|
[*.md]
|
|
charset = utf-8
|
|
end_of_line = lf
|
|
indent_style = space
|
|
trim_trailing_whitespace = false
|
|
insert_final_newline = true
|