.editorconfig
raw| 1 | # EditorConfig is awesome: http://EditorConfig.org |
| 2 | |
| 3 | # top-most EditorConfig file |
| 4 | root = true |
| 5 | |
| 6 | [*] |
| 7 | end_of_line = lf |
| 8 | insert_final_newline = true |
| 9 | charset = utf-8 |
| 10 | indent_style = space |
| 11 | max_line_length = 120 |
| 12 | |
| 13 | # Get rid of whitespace to avoid diffs with a bunch of EOL changes |
| 14 | trim_trailing_whitespace = true |
| 15 | |
| 16 | [*.{html,json}] |
| 17 | indent_size = 2 |
| 18 | |
| 19 | [*.{js,css}] |
| 20 | indent_size = 4 |