-
-
Notifications
You must be signed in to change notification settings - Fork 294
Expand file tree
/
Copy path.editorconfig
More file actions
39 lines (32 loc) · 655 Bytes
/
.editorconfig
File metadata and controls
39 lines (32 loc) · 655 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
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.js]
indent_style = space
indent_size = 2
end_of_line = lf
[*.{json,jsonc}]
indent_style = space
indent_size = 2
end_of_line = lf
[*.md]
indent_style = space
indent_size = 2
end_of_line = lf
[*.sh]
indent_style = tab
end_of_line = lf
switch_case_indent = true # like -ci
space_redirects = true # like -sr
simplify = true # like -s
[*.{yaml,yml}]
indent_style = space
indent_size = 2
end_of_line = lf