-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
47 lines (39 loc) · 899 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
# http://editorconfig.org
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.{js,jsx,ts,mjs,cjs,tsx}]
indent_style = space
indent_size = 2
insert_final_newline = true
block_comment_start = /**
block_comment = *
block_comment_end = */
quote_type = single
[*.{json}]
indent_style = space
indent_size = 2
quote_type = double
[*.md]
insert_final_newline = false
trim_trailing_whitespace = false
[*.go]
insert_final_newline = false
trim_trailing_whitespace = false
[*.rs]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_size = 4
max_line_length = 100
# The indent size used in the `package.json` file cannot be changed
# https://github.com/npm/npm/pull/3180#issuecomment-16336516
[{*.yml,*.yaml,package.json}]
indent_style = space
indent_size = 2