-
Notifications
You must be signed in to change notification settings - Fork 1
/
.editorconfig
46 lines (36 loc) · 1.15 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
35
36
37
38
39
40
41
42
43
44
45
46
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = tab # https://old.reddit.com/r/javascript/comments/c8drjo/nobody_talks_about_the_real_reason_to_use_tabs/
indent_size = tab
trim_trailing_whitespace = true
[*.{md,yaml,yml}]
indent_style = space
indent_size = 2
[*.md]
# For Markdown additional rules _could_ be enforced here (see below), however,
# that is done using markdown-cli2 where violations can be handled more fine-granular
#max_line_length = 120
trim_trailing_whitespace = false # Allow ' ' token for Markdown to create new lines
# For YAML additional rules _could_ be enforced here (see below), however,
# that is done using yamllint where violations can be handled more fine-granular
#[*.{yaml,yml}]
#max_line_length = 140
# Add custom rules below
[**/git/ignore]
# required because it contains both \r and \lf
end_of_line = unset
[*.vim]
indent_style = space
indent_size = 2
[vimrc]
indent_style = space
indent_size = 4
# Windows specific files
[*.{ini,ps1}]
end_of_line = crlf