-
Notifications
You must be signed in to change notification settings - Fork 502
Expand file tree
/
Copy path.editorconfig
More file actions
38 lines (32 loc) · 885 Bytes
/
.editorconfig
File metadata and controls
38 lines (32 loc) · 885 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
# https://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.sh]
binary_next_line = true
# We use tabs in shell scripts since heredoc indent stripping (<<-) requires them:
# https://www.gnu.org/software/bash/manual/html_node/Redirections.html#Here-Documents
indent_style = tab
shell_variant = bash
switch_case_indent = true
# Catches scripts without a .sh file extension, such as the Buildpack API scripts.
[**/bin/**]
binary_next_line = true
indent_style = tab
shell_variant = bash
switch_case_indent = true
# Catches sbin/ scripts without a .sh extension.
[**/sbin/**]
binary_next_line = true
indent_style = tab
shell_variant = bash
switch_case_indent = true
# Vendored third-party script that must not be modified.
[test/shunit2.sh]
ignore = true
[Makefile]
indent_style = tab