forked from 1dot13/source
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
46 lines (40 loc) · 1.08 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
root = true
[*.{cpp,h}]
indent_style = tabs
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true
# Charset encoding is an open topic, we would need to convert all files to the ideal encoding the world uses
# Visual Studio requires BOM to properly detect files as being utf if not using .editorconfig, but with .editorconfig we don't need the bom
#charset = utf-8
#charset = utf-8-bom
# Currently windows-1252 seems to be used for most files, but thats not an officially supported .editorconfig encoding
#charset = windows-1252
# cmake
[*.json]
charset = utf-8
indent_style = spaces
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true
# github workflow
[*.{yml,yaml}]
charset = utf-8
indent_style = spaces
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true
# gamedir xml
[*.xml]
charset = utf-8
indent_style = tabs
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true
# gamedir ini
[*.ini]
charset = utf-8
indent_style = tabs
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true