-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
.editorconfig
41 lines (33 loc) · 959 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
root = true
[*]
indent_style = space
indent_size = 2
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
[*.{diff,md}]
trim_trailing_whitespace = false
[Makefile]
indent_style = tab
[.gitmodules]
indent_style = tab
[{Dockerfile,Dockerfile.*,*.dockerfile}]
indent_style = space
indent_size = 2
[{/bin/*,/tools/*,**/*.{bats,bash,sh}}]
################################################################################
# Below are shfmt options. #
# See https://github.com/mvdan/sh/blob/master/cmd/shfmt/shfmt.1.scd#examples #
################################################################################
# --language-variant
shell_variant = auto
binary_next_line = false
# --case-indent
switch_case_indent = true
space_redirects = false
keep_padding = false
# --func-next-line
function_next_line = false
[{Makefile,*.mk}]
indent_style = tab