Merge pull request #2115 from frederic34/patch-5
Add EditorConfig see http://editorconfig.org/
This commit is contained in:
commit
d87b3ba614
1 changed files with 21 additions and 0 deletions
21
.editorconfig
Normal file
21
.editorconfig
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# EditorConfig is awesome: http://EditorConfig.org
|
||||
|
||||
# top-most EditorConfig file
|
||||
root = true
|
||||
# Unix-style newlines with a newline ending every file
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
[*.php]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
[*.js]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
[*.css]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
[*.xml]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
Loading…
Reference in a new issue