-
Notifications
You must be signed in to change notification settings - Fork 2
/
.editorconfig
41 lines (33 loc) · 1019 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
# http://editorconfig.org
# This is the project's root directory
root = true
# Unix-style newlines with a newline ending every file
[*]
# The files are utf-8 encoded
charset = utf-8
# Each indent should contain 2 spaces
indent_size = 2
# Use Unix line endings
end_of_line = lf
# Use spaces for indentation
indent_style = space
# A file must end with an empty line - this is good for version control systems
insert_final_newline = true
# No whitespace at the end of line
trim_trailing_whitespace = true
# ================================================
# 4 SPACE INDENTATION
# ================================================
[{Makefile,**.mk}]
indent_size = 4
indent_style = tab
# ================================================
# 2 SPACE INDENTATION
# ================================================
[*.{md,Rmd,rst}]
trim_trailing_whitespace = false
# ================================================
# GO INDENTATION
# ================================================
[*.{go,tmpl,html}]
indent_style = tab