-
Notifications
You must be signed in to change notification settings - Fork 1
/
.editorconfig
46 lines (34 loc) · 845 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
# editorconfig.org
root = true
[*]
# Use spaces for indentation
indent_style = space
# Each indent should contain 2 spaces
indent_size = 2
# Use Unix line endings
end_of_line = lf
# The files are utf-8 encoded
charset = utf-8
# No whitespace at the end of line
trim_trailing_whitespace = true
# A file must end with an empty line - this is good for version control systems
insert_final_newline = true
# A line should not have more than this amount of chars (not supported by all plugins)
max_line_length = 78
[{Makefile,**.mk}]
# Use tabs for indentation (Makefiles require tabs)
indent_style = tab
tab_width = 4
[*.java]
indent_style = tab
tab_width = 4
[*.{c,cc,cpp,cxx,c++,h}]
indent_size = 4
[*.md]
max_line_length = 80
trim_trailing_whitespace = false
[*.py]
indent_size = 4
max_line_length = 120
[*.{yml,yaml}]
indent_size = 2