-
Notifications
You must be signed in to change notification settings - Fork 3
/
.editorconfig
39 lines (32 loc) · 1.02 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
# -----------------------------------------------------------------------------
# editorconfig 互換用設定ファイル
# -----------------------------------------------------------------------------
# なるべくこのフォーマットに準拠してください。将来的にレギュレーションとしてテストに含まれる
# 可能性があります。
root = true
# Default/Common settings
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
# Shell-format
[*.sh]
indent_style = space # shfmt -i=4
indent_size = 4 # shfmt -i=4
shell_variant = posix # shfmt -ln=posix
binary_next_line = true # shfmt -bn
switch_case_indent = true # shfmt -ci
space_redirects = false # shfmt -sr
keep_padding = true # shfmt -kp
function_next_line = false # disable shfmt -fn
[*.json]
indent_size = 4
quote_type = single
[*.{yml,yaml}]
indent_size = 2
quote_type = single
[.shell*]
insert_final_newline = true