-
Notifications
You must be signed in to change notification settings - Fork 3
/
.editorconfig
73 lines (58 loc) · 1.28 KB
/
.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
63
64
65
66
67
68
69
70
71
72
73
# Editor config is quite quite nice.
# For more info see: http://editorconfig.org
root = true
[*]
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 4
charset = utf-8
[Makefile]
# Use tabs for indentation (Makefiles require tabs)
indent_style = tab
# Bash Files
[*.sh]
end_of_line = lf
# Markdown Files
[*.{md,mdx}]
trim_trailing_whitespace = false
indent_size = 2
[*.{bat,cmd,ps1}]
end_of_line = crlf
[*.{py,pyi,pyx}]
indent_style = space
indent_size = 4
[*.{js,jsx,ts,tsx,cjs,mjs,cts,mts}]
indent_style = space
indent_size = 2
max_line_length = 80
[*.{graphql,gqp}]
indent_style = space
indent_size = 2
max_line_length = 80
[*.{json,json5,ndjson,jsonc,webmanifest}]
indent_size = 2
indent_style = space
[*.{toml}]
indent_size = 2
indent_style = space
[*.{yml,yaml}]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = true
[*.xml]
indent_size = 2
# Misc webfiles
[*.{htm,html,js,jsm,ts,tsx,cjs,cts,ctsx,mjs,mts,mtsx,css,sass,scss,less,pcss,svg,vue}]
indent_size = 2
max_line_length = 80
# Visual studio solution file(s)
[*.sln]
indent_style = tab
# Visual Studio XML Project Files
[*.{csproj,vbproj,vcxproj.filters,proj,projitems,shproj}]
indent_size = 2