| 1 |
# |
| 2 |
# EditorConfig: http://EditorConfig.org |
| 3 |
# |
| 4 |
# This files specifies some basic editor conventions for the files in this |
| 5 |
# project. Many editors support this standard, you simply need to find a plugin |
| 6 |
# for your favorite! |
| 7 |
# |
| 8 |
# For a full list of possible values consult the reference. |
| 9 |
# https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties |
| 10 |
# |
| 11 |
|
| 12 |
# Stop searching for other .editorconfig files above this folder. |
| 13 |
root = true |
| 14 |
|
| 15 |
# Pick some sane defaults for all files. |
| 16 |
[*] |
| 17 |
|
| 18 |
# UNIX line-endings are preferred since: |
| 19 |
# * git prefers them |
| 20 |
# * servers run on Linux |
| 21 |
# * most developers use Mac OS X |
| 22 |
# http://adaptivepatchwork.com/2012/03/01/mind-the-end-of-your-line/ |
| 23 |
end_of_line = lf |
| 24 |
|
| 25 |
# No reason in these modern times to use anything other than UTF-8. |
| 26 |
charset = utf-8 |
| 27 |
|
| 28 |
# Ensure that there's no bogus whitespace in the file. |
| 29 |
trim_trailing_whitespace = true |
| 30 |
|
| 31 |
# A little esoteric, but it's kind of a standard now. |
| 32 |
# http://stackoverflow.com/questions/729692/why-should-files-end-with-a-newline |
| 33 |
insert_final_newline = true |
| 34 |
|
| 35 |
# Herein be the apex of holy wars. For more information see: |
| 36 |
# http://programmers.stackexchange.com/questions/57 |
| 37 |
indent_style = space |
| 38 |
|
| 39 |
# Personal preference here. Smaller indent size means you can fit more on a line |
| 40 |
# which can be nice when there are lines with several indentations. |
| 41 |
indent_size = 2 |
| 42 |
|
| 43 |
# Prefer a more conservative default line length – this allows editors with |
| 44 |
# sidebars, minimaps, etc. to show at least two documents side-by-side. |
| 45 |
# Hard wrapping by default for code is useful since many editors don't support |
| 46 |
# an elegant soft wrap; however, soft wrap is fine for things where text just |
| 47 |
# flows normally, like Markdown documents or git commit messages. Hard wrap |
| 48 |
# is also easier for line-based diffing tools to consume. |
| 49 |
# See: http://tex.stackexchange.com/questions/54140 |
| 50 |
max_line_length = 80 |