-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
56 lines (42 loc) · 972 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
47
48
49
50
51
52
53
54
55
56
# EditorConfig helps developers define and maintain consistent coding styles
# between different editors and IDEs.
# http://EditorConfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
max_line_length = 120
trim_trailing_whitespace = true
[*.{css,less,sass,scss}]
indent_size = 2
indent_style = space
[*.{graphql,hcl,html,js,json,jsx,md,sh,yaml,yml,toml,ts,tsx,tf}]
indent_size = 2
indent_style = space
[*.{markdown,md,rst}]
indent_size = 2
indent_style = space
[Makefile]
indent_style = tab
[*.{c,c++,cc,cpp,cxx,h,hh,hpp,hxx,inl,inc,m,mm,x,xm}]
indent_size = 4
[*.{cmake,make,mk}]
indent_size = 4
indent_style = tab
[*.{sh,bash,csh,tcsh}]
indent_size = 4
indent_style = space
[*.{fish,zsh}]
indent_size = 2
indent_style = space
[*.{go,rb,rs,sql,swift}]
indent_size = 4
indent_style = space
[*.{py}]
indent_size = 4
indent_style = space
[.vscode/*.json]
indent_size = 4
[.devcontainer/**/devcontainer*.json]
indent_size = 4