| 1 |
# EditorConfig: https://editorconfig.org/ |
| 2 |
|
| 3 |
# top-most EditorConfig file |
| 4 |
root = true |
| 5 |
|
| 6 |
# Unix-style newlines with a newline ending every file |
| 7 |
# 4 space indentation for all files |
| 8 |
# No trailing whitespace |
| 9 |
[*] |
| 10 |
charset = utf-8 |
| 11 |
indent_style = space |
| 12 |
indent_size = 4 |
| 13 |
end_of_line = lf |
| 14 |
insert_final_newline = true |
| 15 |
trim_trailing_whitespace = true |
| 16 |
max_line_length = 120 |
| 17 |
|
| 18 |
# Exceptions to the rule... |
| 19 |
|
| 20 |
[Makefile] |
| 21 |
indent_style = tab |
| 22 |
|
| 23 |
[*.bat] |
| 24 |
end_of_line = crlf |
| 25 |
|
| 26 |
[*.{yaml,yml,xml,svd}] |
| 27 |
indent_size = 2 |