forked from wireshark/wireshark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
110 lines (83 loc) · 1.62 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
#
# Editor configuration
#
# https://editorconfig.org
#
# Global settings
# We're the top. We're the Coliseum.
root = true
[*]
tab_width = 8
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
# CMake
[{CMake*,*.cmake,*.cmake.in}]
indent_style = tab
# Makefiles. Although we dropped Autotools we still have a few lying around.
[Makefile*]
indent_style = tab
indent_size = 8
# Python
[*.{py,py.in}]
indent_style = space
indent_size = 4
# WiX. The `xmllint --format` default is two spaces.
[*.wx?]
indent_style = space
indent_size = 2
# NSIS
[*.ns[ih]]
indent_style = space
indent_size = 2
# YAML
[*.yml]
indent_style = space
indent_size = 2
# GraphViz. The examples at https://gitlab.com/graphviz/graphviz/-/blob/master/graphs
# seem to be all over the place, so just go with 4 spaces for now.
[*.gv]
indent_style = space
indent_size = 4
# C/C++
[*.{c,cpp,h}]
indent_style = space
indent_size = 4
[{capinfos,captype,mergecap,tfshark,tshark}.c]
indent_size = 2
[{dftest,randpkt,trigcap}.c]
indent_style = tab
indent_size = tab
[capture_stop_conditions.[ch]]
indent_size = 2
[cfile.[ch]]
indent_size = 2
[conditions.[ch]]
indent_size = 2
[file.[ch]]
indent_size = 2
[filter_files.[ch]]
indent_size = 2
[frame_tvbuff.[ch]]
indent_style = tab
indent_size = tab
[pcapio.[ch]]
indent_size = 8
[ringbuffer.[ch]]
indent_size = 2
[summary.[ch]]
indent_size = 2
[randpkt_core.[ch]]
indent_style = tab
indent_size = tab
[sharkd.c]
indent_size = 2
[sharkd_daemon.c]
indent_style = tab
indent_size = tab
[sharkd_session.c]
indent_style = tab
indent_size = tab
[version_info.[ch]]
indent_style = tab
indent_size = tab