mirror of
https://github.com/flarum/framework.git
synced 2024-11-24 18:41:10 +08:00
33 lines
520 B
INI
33 lines
520 B
INI
# EditorConfig helps developers define and maintain consistent
|
|
# coding styles between different editors and IDEs
|
|
# editorconfig.org
|
|
|
|
root = true
|
|
|
|
[*]
|
|
end_of_line = lf
|
|
charset = utf-8
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[*.js]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[*.{css,less}]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[*.html]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[*.{diff,md}]
|
|
trim_trailing_whitespace = false
|
|
|
|
[*.php]
|
|
indent_style = space
|
|
indent_size = 4
|