-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.editorconfig
29 lines (23 loc) · 847 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
root = true
# Sane defaults.
[*]
end_of_line = lf # Always use unix end of line.
insert_final_newline = true # Always insert a new line at the end of files.
trim_trailing_whitespace = true # Don't leave trailing whitespaces.
charset = utf-8 # Default to utf8 encoding.
indent_style = space # Space > tab for consistent aligns.
indent_size = 2 # Default to 2 spaces for indent/tabs.
max_line_length = 120 # Flag long lines.
[*.go]
indent_style = tab
indent_size = 8
[*.python]
indent_size = 4
[*.md]
max_line_length = 0 # Don't check line lenghts in files.
trim_trailing_whitespace = false # Don't remove trailing spaces as it can be required.
[{Makefile,*.mk}]
indent_style = tab
indent_size = 8
[{Dockerfile,Dockerfile.*}]
indent_size = 4