forked from Warzone2100/warzone2100
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
48 lines (40 loc) · 859 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
# To learn more about .editorconfig, see: https://editorconfig.org
# Top-most EditorConfig file
root = true
# All files
[*]
charset = utf-8
# Code files
[*.{cpp,c,hpp,h}]
insert_final_newline = true
trim_trailing_whitespace = true
# Specify indentation for WZ source files
[{lib,src}/**.{cpp,c,hpp,h}]
indent_style = tab
# YAML
[*.{yml,yaml}]
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2
# Python
[*.py]
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 4
# CMake
[CMakeLists.txt]
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab
# JavaScript
[*.js]
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab
# JSON
[*.json]
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab