| 1 |
|
| 2 |
# top-most EditorConfig file |
| 3 |
root = true |
| 4 |
|
| 5 |
# Unix-style newlines with a newline ending every file |
| 6 |
[*] |
| 7 |
end_of_line = lf |
| 8 |
insert_final_newline = true |
| 9 |
|
| 10 |
# Matches multiple files with brace expansion notation |
| 11 |
# Set default charset |
| 12 |
[*.{js,py}] |
| 13 |
charset = utf-8 |
| 14 |
|
| 15 |
# 4 space indentation |
| 16 |
[*.py] |
| 17 |
indent_style = space |
| 18 |
indent_size = 4 |
| 19 |
|
| 20 |
# Tab indentation (no size specified) |
| 21 |
[Makefile] |
| 22 |
indent_style = tab |
| 23 |
|
| 24 |
# Indentation override for all JS under lib directory |
| 25 |
[lib/**.js] |
| 26 |
indent_style = space |
| 27 |
indent_size = 2 |
| 28 |
|
| 29 |
# Matches the exact files either package.json or .travis.yml |
| 30 |
[{package.json,.travis.yml}] |
| 31 |
indent_style = space |
| 32 |
indent_size = 2 |