forked from pxscene/pxCore2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
41 lines (31 loc) · 698 Bytes
/
.editorconfig
File metadata and controls
41 lines (31 loc) · 698 Bytes
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
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
spaces_around_operators = true
indent_brace_style = Allman
# Matches multiple files with brace expansion notation
# Set default charset
[*.{js,php}]
charset = utf-8
indent_size = 2
[*.py]
indent_size = 4
[Makefile]
indent_style = tab
indent_size = 8
[{package.json,.travis.yml}]
indent_size = 2
[*.java]
indent_brace_style = Stroustrup
[*.go]
indent_style = tab
[*.{c++,cc,cxx}]
indent_brace_style = Allman