Alex Nicksay | bc541f7 | 2017-08-02 10:58:43 -0400 | [diff] [blame] | 1 | # http://editorconfig.org |
| 2 | # Consistent coding style across different editors. |
| 3 | |
| 4 | # Top-most file |
| 5 | root = true |
| 6 | |
| 7 | # Global styles: |
| 8 | # - indent 2 spaces |
| 9 | # - add final new line |
| 10 | # - trim trailing whitespace |
| 11 | [*] |
| 12 | charset = utf-8 |
| 13 | end_of_line = lf |
| 14 | indent_size = 2 |
| 15 | indent_style = space |
| 16 | insert_final_newline = true |
| 17 | trim_trailing_whitespace = true |
| 18 | |
| 19 | # BUILD: |
| 20 | # - indent 4 spaces |
| 21 | [BUILD] |
| 22 | indent_size = 4 |
| 23 | |
| 24 | # Makefile: |
| 25 | # - indent 1 tab |
| 26 | [Makefile] |
| 27 | indent_size = tab |
| 28 | indent_style = tab |
| 29 | |
| 30 | # Markdown: |
| 31 | # - indent 4 spaces |
| 32 | # - trailing whitespace is significant |
| 33 | [*.md] |
| 34 | indent_size = 4 |
| 35 | trim_trailing_whitespace = false |
| 36 | |
| 37 | # Python |
| 38 | # - indent 4 spaces |
| 39 | [*.py] |
| 40 | indent_size = 4 |