-
Notifications
You must be signed in to change notification settings - Fork 7
/
.editorconfig
73 lines (59 loc) · 1.4 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
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[CMakeLists.txt]
indent_size = 2
[cmake/**]
indent_size = 2
[Makefile]
indent_style = tab
[*.md]
indent_size = 2
trim_trailing_whitespace = false
[docs/mkdocs/docs/**.md]
indent_size = 4
[*.{yml,yaml}]
indent_size = 2
[{.clang-format,.clang-tidy}]
indent_size = 2
# Test data must not be auto-changed.
[test/unit_test/test_data/**]
indent_style = unset
indent_size = unset
tab_width = unset
charset = unset
end_of_line = unset
trim_trailing_whitespace = false
insert_final_newline = false
# Leave the endings of the file header template files untouched
[.reuse/templates/*.jinja2]
insert_final_newline = false
# Leave the endings of the example output files untouched
[docs/examples/*.output]
trim_trailing_whitespace = false
insert_final_newline = false
# Unset all the settings for build directories
[build*/**]
indent_style = unset
indent_size = unset
tab_width = unset
end_of_line = unset
charset = unset
trim_trailing_whitespace = unset
insert_final_newline = unset
# Unset all the settings for third party files
[thirdparty/**]
indent_style = unset
indent_size = unset
tab_width = unset
end_of_line = unset
charset = unset
trim_trailing_whitespace = unset
insert_final_newline = unset