.editorconfig
raw| 1 | # EditorConfig is awesome: http://EditorConfig.org |
| 2 | |
| 3 | # top-most EditorConfig file |
| 4 | root = true |
| 5 | |
| 6 | # Non-specified newlines with a newline ending every file |
| 7 | [*] |
| 8 | insert_final_newline = true |
| 9 | |
| 10 | # 2 space indentation |
| 11 | [*.{h,cpp,tcc,cmake,yml}] |
| 12 | indent_style = space |
| 13 | indent_size = 2 |
| 14 | |
| 15 | # Trim trailing whitespaces |
| 16 | [*.{h,cpp,tcc,cmake,yml}] |
| 17 | trim_trailing_whitespace = true |
| 18 | |
| 19 | # UTF-8 without BOM |
| 20 | [*] |
| 21 | charset = utf-8 |