mirror of
https://github.com/flarum/core.git
synced 2025-08-09 09:57:06 +02:00
Add .editorconfig for consistent coding styles
This commit is contained in:
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
|
Reference in New Issue
Block a user