-
Notifications
You must be signed in to change notification settings - Fork 2
/
.editorconfig
60 lines (46 loc) · 957 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
57
58
59
60
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
# Global
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true
[{.gitmodules,Makefile,Dockerfile}]
indent_style = tab
indent_size = 4
[**.{md,markdown}]
indent_size = 4
trim_trailing_whitespace = false
eclint_indent_style = unset
# Config files with 2 spaces
[{package.json,.travis.yml,**.yml,**.yaml}]
indent_style = space
indent_size = 2
[**.json]
indent_style = space
indent_size = 2
[{**/manifest.json,**/site.webmanifest}]
indent_style = space
indent_size = 2
[**.{js,jsx}]
indent_style = space
indent_size = 4
[**.{css,scss,less,sass}]
indent_style = space
indent_size = 4
[**.svg]
indent_style = tab
indent_size = 4
[{go.mod,go.sum,*.go}]
indent_style = tab
indent_size = 4
[*.py]
indent_style = space
indent_size = 4
[*.sql]
indent_style = space
indent_size = 2