2015-10-25 03:44:14 +01:00
|
|
|
# Adapted from: http://editorconfig.org/
|
|
|
|
|
|
|
|
# top-most EditorConfig file
|
|
|
|
root = true
|
|
|
|
|
|
|
|
# Unix-style newlines with a newline ending every file
|
|
|
|
[*]
|
|
|
|
end_of_line = lf
|
|
|
|
insert_final_newline = true
|
|
|
|
|
|
|
|
# 4 space indentation and default charset
|
2015-10-29 11:24:12 +01:00
|
|
|
[*.{php,coffee,js,html}]
|
2015-10-25 03:44:14 +01:00
|
|
|
charset = utf-8
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
|
|
|
|
2015-10-29 11:24:12 +01:00
|
|
|
[*.{less,css}]
|
|
|
|
indent_size = 2
|
|
|
|
|
2015-10-25 03:44:14 +01:00
|
|
|
# One-offs
|
|
|
|
|
|
|
|
[{package.json}]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
[{composer.json}]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|