| 1 |
# unifying the coding style for different editors and IDEs => editorconfig.org |
| 2 |
|
| 3 |
; indicate this is the root of the project |
| 4 |
root = true |
| 5 |
|
| 6 |
########################################################### |
| 7 |
; common |
| 8 |
########################################################### |
| 9 |
|
| 10 |
[*] |
| 11 |
charset = utf-8 |
| 12 |
|
| 13 |
end_of_line = LF |
| 14 |
insert_final_newline = true |
| 15 |
trim_trailing_whitespace = true |
| 16 |
|
| 17 |
indent_style = space |
| 18 |
indent_size = 2 |
| 19 |
|
| 20 |
########################################################### |
| 21 |
; make |
| 22 |
########################################################### |
| 23 |
|
| 24 |
[Makefile] |
| 25 |
indent_style = tab |
| 26 |
|
| 27 |
[makefile] |
| 28 |
indent_style = tab |
| 29 |
|
| 30 |
########################################################### |
| 31 |
; markdown |
| 32 |
########################################################### |
| 33 |
|
| 34 |
[*.md] |
| 35 |
trim_trailing_whitespace = false |
| 36 |
|
| 37 |
########################################################### |
| 38 |
; golang |
| 39 |
########################################################### |
| 40 |
|
| 41 |
[*.go] |
| 42 |
indent_style = tab |