Matthias Andreas Benkard | 832a54e | 2019-01-29 09:27:38 +0100 | [diff] [blame^] | 1 | # top-most EditorConfig file |
| 2 | root = true |
| 3 | |
| 4 | # Unix-style newlines with a newline ending every file |
| 5 | [*] |
| 6 | end_of_line = lf |
| 7 | insert_final_newline = true |
| 8 | indent_style = space |
| 9 | indent_size = 2 |
| 10 | trim_trailing_whitespace = true |
| 11 | |
| 12 | # Set default charset |
| 13 | [*.{js,py,go,scala,rb,java,html,css,less,sass,md}] |
| 14 | charset = utf-8 |
| 15 | |
| 16 | # Tab indentation (no size specified) |
| 17 | [*.go] |
| 18 | indent_style = tab |
| 19 | |
| 20 | [*.md] |
| 21 | trim_trailing_whitespace = false |
| 22 | |
| 23 | # Matches the exact files either package.json or .travis.yml |
| 24 | [{package.json,.travis.yml}] |
| 25 | indent_style = space |
| 26 | indent_size = 2 |