Skip to content

Commit 91b6482

Browse files
committed
tools: editor styleguide for bash scripts
Signed-off-by: Ramon Roche <mrpollo@gmail.com>
1 parent 746d82d commit 91b6482

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.editorconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,11 @@ max_line_length = 120
1212
[*.yaml, *.yml]
1313
indent_style = space
1414
indent_size = 2
15+
16+
[*.sh]
17+
indent_style = tab
18+
indent_size = 2
19+
insert_final_newline = true
20+
trim_trailing_whitespace = true
21+
# Not in the official standard, but supported by many editors
22+
max_line_length = 80

0 commit comments

Comments
 (0)