mirror of
https://github.com/flarum/framework.git
synced 2025-02-27 10:48:57 +08:00
Add .editorconfig for consistent coding styles
This commit is contained in:
parent
38919ac72f
commit
17375aafa1
17
extensions/lang-english/.editorconfig
Normal file
17
extensions/lang-english/.editorconfig
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# http://editorconfig.org/
|
||||||
|
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
end_of_line = lf
|
||||||
|
charset = utf-8
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
insert_final_newline = true
|
||||||
|
|
||||||
|
[*.{json,php}]
|
||||||
|
indent_size = 4
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
trim_trailing_whitespace = false
|
Loading…
x
Reference in New Issue
Block a user