forked from endless-sky/endless-sky
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
56 lines (44 loc) · 855 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
52
53
54
55
56
# https://editorconfig.org/
root = true
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# Data files
[data/**.txt]
trim_trailing_whitespace = false
indent_style = tab
# Code files
[{*.{cpp,h,rc,hpp}, SConstruct, SConscript}]
indent_style = tab
cpp_space_pointer_reference_alignment = right
cpp_space_after_keywords_in_control_flow_statements = false
# Changelog file
[changelog]
indent_style = space
indent_size = 2
# Copyright file
[copyright]
indent_style = space
indent_size = 1
# Credits file
[credits.txt]
indent_style = space
indent_size = 2
# Markdown
[*.md]
trim_trailing_whitespace = false
# Scripts
[*.{sh,ps1}]
indent_style = space
indent_size = 2
[*.py]
indent_style = tab
[*.xml]
indent_style = space
indent_size = 2
[*.{yml,yaml}]
indent_size = 2
indent_style = space
[*.json]
indent_style = tab