30 lines
556 B
INI
30 lines
556 B
INI
# EditorConfig is awesome: http://EditorConfig.org
|
|
|
|
# top-most EditorConfig file
|
|
root = true
|
|
|
|
# Unix-style newlines with a newline ending every file
|
|
[*]
|
|
end_of_line = lf
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
|
|
# Tab indentation (no size specified)
|
|
[Makefile]
|
|
indent_style = tab
|
|
|
|
[*.{js,css,php,html}]
|
|
charset = utf-8
|
|
indent_style = tab
|
|
indent_size = 4
|
|
|
|
# Indentation override
|
|
[*.{html,js}]
|
|
indent_size = 2
|
|
|
|
# Matches the exact files either package.json or .travis.yml
|
|
[{package.json,.travis.yml}]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|