-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.editorconfig
87 lines (65 loc) · 1.32 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
74
75
76
77
78
79
80
81
82
83
84
85
86
# http://editorconfig.org
root = true
[*]
indent_style = space
indent_size = 4
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 600
[*.{groovy, java, kt, kts}]
indent_style = tab
continuation_indent_size = 8
[*.{xml, xsd}]
indent_style = tab
[Makefile]
indent_style = tab
[*.py]
indent_size = 4
[*.yml]
indent_size = 2
[*.dart]
indent_size = 2
[*.sql]
indent_size = 2
[*.md]
insert_final_newline = false
trim_trailing_whitespace = false
# 前端部分 start
[*.js]
indent_style = space
indent_size = 2
[*.ts]
indent_style = space
indent_size = 2
[*.{less, css}]
indent_style = space
indent_size = 2
[*.{tsx, jsx}]
indent_style = space
indent_size = 2
[{*.ng, *.sht, *.html, *.shtm, *.shtml, *.htm}]
indent_style = space
indent_size = 2
[{*.jhm, *.xslt, *.xul, *.rng, *.xsl, *.xsd, *.ant, *.tld, *.fxml, *.jrxml, *.xml, *.jnlp, *.wsdl}]
indent_style = space
indent_size = 2
[{.babelrc, .stylelintrc, jest.config, .eslintrc, .prettierrc, *.json, *.jsb3, *.jsb2, *.bowerrc}]
indent_style = space
indent_size = 2
[*.svg]
indent_style = space
indent_size = 2
[*.js.map]
indent_style = space
indent_size = 2
[*.less]
indent_style = space
indent_size = 2
[*.vue]
indent_style = space
indent_size = 2
[{.analysis_options, *.yml, *.yaml}]
indent_style = space
indent_size = 2