1
0
mirror of https://github.com/flarum/core.git synced 2025-07-15 13:56:23 +02:00

Create .editorconfig

This commit is contained in:
Allineer
2015-01-22 01:25:20 +03:00
parent c00b68f6e4
commit d9a55a2192

37
.editorconfig Normal file

@ -0,0 +1,37 @@
# 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