| 1 |
# |
| 2 |
# Text editor configuration |
| 3 |
# ========================= |
| 4 |
# |
| 5 |
# This file describes the end-of-line character, indentation and other rules for text files – in a |
| 6 |
# format compatible with most text editors. It really helps to have all that consistent, without |
| 7 |
# manual labor. You'll probably want a plugin for your editor. Go get one from |
| 8 |
# [editorconfig.org](http://editorconfig.org). |
| 9 |
# |
| 10 |
|
| 11 |
root = true |
| 12 |
|
| 13 |
|
| 14 |
# General rules |
| 15 |
# ------------- |
| 16 |
# - Unicode |
| 17 |
# - Unix-style line endings |
| 18 |
# - Newline before EOF |
| 19 |
# - No sloppy trailing spaces |
| 20 |
# - Two-space indentation |
| 21 |
|
| 22 |
[*] |
| 23 |
end_of_line = lf |
| 24 |
charset = utf-8 |
| 25 |
insert_final_newline = true |
| 26 |
trim_trailing_whitespace = true |
| 27 |
indent_style = space |
| 28 |
indent_size = 2 |
| 29 |
|
| 30 |
|
| 31 |
# Files that need whitespace at the end of lines |
| 32 |
# ---------------------------------------------- |
| 33 |
# - Markdown |
| 34 |
|
| 35 |
[*.md] |
| 36 |
trim_trailing_whitespace = false |