CMake: fix broken oss-fuzz build due to the -pie option
[metze/wireshark/wip.git] / .editorconfig
1 #
2 # Editor configuration
3 #
4 # http://editorconfig.org/
5 #
6
7 # Global settings
8
9 # We're the top. We're the Coliseum.
10 root = true
11
12 [*]
13 tab_width = 8
14 charset = utf-8
15 trim_trailing_whitespace = true
16 insert_final_newline = true
17
18 # CMake
19 [{CMake*,*.cmake,*.cmake.in}]
20 indent_style = tab
21
22 # Makefiles. Although we dropped Autotools we still have a few lying around.
23 [Makefile*]
24 indent_style = tab
25 indent_size = 8
26
27 # Python
28 [*.py]
29 indent_style = space
30 indent_size = 4
31
32 # WiX. The `xmllint --format` default is two spaces.
33 [*.wx?]
34 indent_style = space
35 indent_size = 2
36
37 # NSIS
38 [*.ns[ih]]
39 indent_style = space
40 indent_size = 2
41
42 # C/C++
43 [*.{c,cpp,h}]
44 indent_style = space
45 indent_size = 4
46
47 [{capinfos,captype,mergecap,tfshark,tshark}.c]
48 indent_size = 2
49
50 [{dftest,randpkt,trigcap}.c]
51 indent_style = tab
52 indent_size = tab
53
54 [capture_stop_conditions.[ch]]
55 indent_size = 2
56
57 [cfile.[ch]]
58 indent_size = 2
59
60 [conditions.[ch]]
61 indent_size = 2
62
63 [file.[ch]]
64 indent_size = 2
65
66 [filter_files.[ch]]
67 indent_size = 2
68
69 [frame_tvbuff.[ch]]
70 indent_style = tab
71 indent_size = tab
72
73 [pcapio.[ch]]
74 indent_size = 8
75
76 [ringbuffer.[ch]]
77 indent_size = 2
78
79 [summary.[ch]]
80 indent_size = 2
81
82 [randpkt_core.[ch]]
83 indent_style = tab
84 indent_size = tab
85
86 [sharkd.c]
87 indent_size = 2
88
89 [sharkd_daemon.c]
90 indent_style = tab
91 indent_size = tab
92
93 [sharkd_session.c]
94 indent_style = tab
95 indent_size = tab
96
97 [version_info.[ch]]
98 indent_style = tab
99 indent_size = tab