-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot-editorconfig
62 lines (50 loc) · 1.02 KB
/
dot-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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
root = true
# Defaults
[*]
indent_style = tab
indent_size = 4
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
[*.c, *.cpp, *.h]
indent_style = tab
indent_size = 4
[*.{clj,cljs}]
indent_type = space
indent_size = 2
# https://golang.org/doc/effective_go.html#formatting
[*.go]
indent_style = tab
indent_size = 4
[*.{json,hcl}]
indent_style = space
indent_size = 2
[Makefile]
indent_style = tab
indent_size = 4
[*.{md,markdown}]
indent_stype = space
indent_size = 4
# https://www.python.org/dev/peps/pep-0008/#indentation
[*.py]
indent_style = space
indent_size = 4
max_line_length = 79
# https://github.com/rust-lang/rfcs/tree/master/style-guide
[*.rs]
indent_style = space
indent_size = 4
max_line_length = 100
# https://google.github.io/styleguide/shellguide.html
[*.sh]
indent_style = space
indent_size = 2
max_line_length = 80
[*.tf]
indent_style = space
indent_size = 2
# http://yaml.org/spec/1.2/2009-07-21/spec.html#id2576668
[*.{yaml,yml}]
indent_style = space
indent_size = 2