mirror of
https://github.com/flarum/framework.git
synced 2024-11-23 20:22:58 +08:00
38 lines
560 B
INI
38 lines
560 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
|
|
|
|
[*.hbs]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[*.css]
|
|
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
|