| 1 |
# EditorConfig spec: https://editorconfig.org |
| 2 |
|
| 3 |
# top-most EditorConfig file |
| 4 |
root = true |
| 5 |
|
| 6 |
# Unix-style newlines with a newline ending every file |
| 7 |
[**] |
| 8 |
charset = utf-8 |
| 9 |
end_of_line = lf |
| 10 |
insert_final_newline = true |
| 11 |
trim_trailing_whitespace = true |
| 12 |
|
| 13 |
# 4 space indentation for chilly |
| 14 |
[**.c] |
| 15 |
indent_size = 4 |
| 16 |
indent_style = space |
| 17 |
|
| 18 |
[**.h] |
| 19 |
indent_size = 4 |
| 20 |
indent_style = space |
| 21 |
|
| 22 |
[**.l] |
| 23 |
indent_size = 4 |
| 24 |
indent_style = space |
| 25 |
|
| 26 |
[**.y] |
| 27 |
indent_size = 4 |
| 28 |
indent_style = space |
| 29 |
|
| 30 |
# Tab indentation for automake, autoconf, shell, and system config files |
| 31 |
[**.am] |
| 32 |
indent_style = tab |
| 33 |
|
| 34 |
[**.ac] |
| 35 |
indent_style = tab |
| 36 |
|
| 37 |
[**.sh] |
| 38 |
indent_style = tab |
| 39 |
|
| 40 |
[etc/detoxrc] |
| 41 |
indent_style = tab |
| 42 |
|
| 43 |
# 2 spaces for YAML files |
| 44 |
[**.yml] |
| 45 |
indent_style = space |
| 46 |
indent_size = 2 |