-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
40 lines (33 loc) · 871 Bytes
/
.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
# https://editorconfig.org/
# https://github.com/the-common/editorconfig-template
root = true
[*]
indent_style = space
indent_size = 2
tab_width = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 120
ij_continuation_indent_size = 2
ij_visual_guides = 80, 120, 150
[.git/**]
# Avoid git patch fail to apply due to the stripped unmodified lines that
# contains only spaces, which also matches as "trailing spaces"
trim_trailing_whitespace = false
[*.{md,mkd,mkdn,markdown}]
# Trailing whitespace means manual linebreaks in Markdown thus is not trimmable
trim_trailing_whitespace = false
[*.sh]
indent_size = 4
tab_width = 4
ij_continuation_indent_size = 4
[*.html]
indent_size = 4
tab_width = 4
ij_continuation_indent_size = 4
[Dockerfile]
indent_size = 4
tab_width = 4
ij_continuation_indent_size = 4