-
Notifications
You must be signed in to change notification settings - Fork 1.9k
/
.editorconfig
51 lines (40 loc) · 939 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
41
42
43
44
45
46
47
48
49
50
51
# See https://editorconfig.org/ for syntax reference.
root = true
# No wildcard sections [*] and [**] because properties cannot be
# applied safely to any filetype in general.
# Property trim_trailing_whitespace should not be defined at all
# because it is interpreted differently by editors.
[*.{c,h}]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 4
insert_final_newline = true
max_line_length = 79
[include/linux/**.h]
indent_style = tab
indent_size = tab
tab_width = 8
[include/sparse/rte_*.h]
indent_style = tab
tab_width = 8
[include/windows/getopt.h]
indent_style = tab
indent_size = tab
tab_width = 8
[include/windows/netinet/{icmp6,ip6}.h]
indent_style = tab
indent_size = tab
tab_width = 8
[lib/getopt_long.c]
indent_style = tab
indent_size = tab
tab_width = 8
[lib/sflow*.{c,h}]
indent_style = tab
indent_size = tab
tab_width = 8
[lib/strsep.c]
indent_style = tab
indent_size = tab
tab_width = 8