-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
44 lines (39 loc) · 962 Bytes
/
.editorconfig
File metadata and controls
44 lines (39 loc) · 962 Bytes
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
####################################################################
# Editor configuration file
####################################################################
root = true
# Shallow indentation code files
[*.{gitattributes,gitignore,editorconfig,prettierignore,html,json,lock,yaml,svg,md}]
ruler = 80
indent_style = space
indent_size = 2
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
[.githooks/*]
ruler = 80
indent_style = space
indent_size = 2
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
# Deep indentation code files
[*.{ts,tsx,txt}]
ruler = 80
indent_style = space
indent_size = 4
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
# Raw code files
[*.patch]
ruler = 80
indent_style = unset
indent_size = unset
charset = utf-8
end_of_line = unset
trim_trailing_whitespace = false
insert_final_newline = false