-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
46 lines (37 loc) · 1.04 KB
/
.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
root = true
[*]
indent_style = space
indent_size = 2
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
[{bins/*,sub/*,**/*.{bats,bash,sh}}]
indent_style = tab
################################################################################
# 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
[configs/gitconfig]
indent_size = 4
[.gitmodules]
indent_style = tab
[.git/config]
indent_style = tab
[*.{js,jsx,ts}]
; this option just works with prettier, not implemented with editorconfig
max_line_length = 100
indent_style = tab
[*.{diff,md}]
trim_trailing_whitespace = false
[Makefile]
indent_style = tab