-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
33 lines (28 loc) · 835 Bytes
/
Copy path.editorconfig
File metadata and controls
33 lines (28 loc) · 835 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
# -----------------------------------------------------------------------------
# Editor settings
# -----------------------------------------------------------------------------
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.go]
indent_style = tab
# Shell-format
[*.sh]
indent_style = space # shfmt -i=4
indent_size = 4 # shfmt -i=4
shell_variant = posix # shfmt -ln=posix
binary_next_line = false # disable shfmt -bn
switch_case_indent = true # shfmt -ci
space_redirects = false # disable shfmt -sr
keep_padding = true # shfmt -kp
function_next_line = false # disable shfmt -fn
[*.{yml,yaml,json}]
indent_style = space
indent_size = 4
insert_final_newline = false
quote_type = single