-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
34 lines (29 loc) · 1.03 KB
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
# Before this holy war starts, please read
# http://programmers.stackexchange.com/questions/57/tabs-versus-spaces-what-is-the-proper-indentation-character-for-everything-in-e
# -- dwimsey
[*]
end_of_line = lf
insert_final_newline = true
indent_style = tab
trim_trailing_whitespace = true
# Matches multiple files with brace expansion notation
# Set default charset
[*.{js,py,java,txt,c,cpp,rb,sh,xml}]
charset = utf-8
# In Markdown, trailing whitespace is important, don't strip it!
[*.{md,MD}]
indent_style = space
indent_size = 2
trim_trailing_whitespace = false
# Dear YAML,
# I hate whitespace based languages, anything that can be damaged because you paste it into the wrong editor is stupid
# to say the least. Read all of http://c2.com/cgi/wiki?SyntacticallySignificantWhitespaceConsideredHarmful for thoughts
# -- dwimsey
[*.{yml,yaml,py}]
charset = utf-8
indent_style = space
indent_size = 2