I use this config:
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
quote_type = single
trim_trailing_whitespace = true
[*.go]
indent_style = tab
[*.{sh,bash,bats}]
indent_size = 4
This used to work correctly for *.sh, *.bash, etc files, but with v3.12.0 it seems to get ignored and I have to specify -i 4 explicitly to get 4 space indent instead of using tabs.
I use this config:
This used to work correctly for
*.sh,*.bash, etc files, but with v3.12.0 it seems to get ignored and I have to specify-i 4explicitly to get 4 space indent instead of using tabs.