-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheditorconfig
More file actions
50 lines (40 loc) · 734 Bytes
/
editorconfig
File metadata and controls
50 lines (40 loc) · 734 Bytes
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
47
48
49
50
# https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties
root = true
[*]
max_line_length = 100
indent_style = space
indent_size = 4
end_of_line = lf
tab_width = 4
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = off
[*.c]
max_line_length = 80
indent_size = 4
[*.h]
max_line_length = 80
tab_width = 8
[*.{yml,yaml}]
indent_style = space
indent_size = 2
[*.proto]
indent_style = space
indent_size = 2
[*.md]
trim_trailing_whitespace = false
[*.go]
indent_style = tab
tab_width = 4
indent_size = 4
[*.{sh,bash}]
indent_style = tab
tab_width = 4
indent_size = 4
[*.{html,htm}]
max_line_length = off
indent_style = tab
indent_size = 4
[Makefile]
indent_style = tab