diff --git a/.editorconfig b/.editorconfig index 87e50155..4d52b509 100755 --- a/.editorconfig +++ b/.editorconfig @@ -1,12 +1,32 @@ # EditorConfig is awesome: http://EditorConfig.org [*] -indent_style = space -indent_size = 2 -end_of_line = lf -charset = utf-8 +indent_style = tab +indent_size = 1 + +shell_variant = bash +binary_next_line = true # like -bn +switch_case_indent = true # like -ci +space_redirects = true # like -sr +keep_padding = true # like -kp +end_of_line = lf +charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true [*.md] trim_trailing_whitespace = false + +[*.*sh] +indent_style = tab +indent_size = 1 + +shell_variant = bash +binary_next_line = true # like -bn +switch_case_indent = true # like -ci +space_redirects = true # like -sr +keep_padding = true # like -kp +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true