.editorconfig
raw| 1 | root = true |
| 2 | |
| 3 | [*] |
| 4 | indent_style = tab |
| 5 | indent_size = 4 |
| 6 | tab_width = 4 |
| 7 | end_of_line = lf |
| 8 | charset = utf-8 |
| 9 | trim_trailing_whitespace = true |
| 10 | insert_final_newline = true |
| 11 | |
| 12 | [{*.json,*.json.example,*.gyp,*.yml,*.yaml}] |
| 13 | indent_style = space |
| 14 | indent_size = 2 |
| 15 | |
| 16 | [{*.py,*.asm}] |
| 17 | indent_style = space |
| 18 | |
| 19 | [*.py] |
| 20 | indent_size = 4 |
| 21 | |
| 22 | [*.asm] |
| 23 | indent_size = 8 |
| 24 | |
| 25 | [*.md] |
| 26 | trim_trailing_whitespace = false |
| 27 | |
| 28 | # Ideal settings - some plugins might support these. |
| 29 | [*.js] |
| 30 | quote_type = single |
| 31 | |
| 32 | [{*.c,*.cc,*.h,*.hh,*.cpp,*.hpp,*.m,*.mm,*.mpp,*.js,*.java,*.go,*.rs,*.php,*.ng,*.jsx,*.ts,*.d,*.cs,*.swift}] |
| 33 | curly_bracket_next_line = false |
| 34 | spaces_around_operators = true |
| 35 | spaces_around_brackets = outside |
| 36 | # close enough to 1TB |
| 37 | indent_brace_style = K&R |