forked from mirrors/0ad
Update the pre-commit hooks
With v3.12.0 shfmt changed the behavior of the `--simplify` option to ignore any EditorConfig when it's provided. Therefore, this option is now moved to the EditorConfig as suggested by the shfmt author. See https://github.com/mvdan/sh/issues/1173 for details.
This commit is contained in:
@@ -19,6 +19,7 @@ indent_style = space
|
||||
[*.sh]
|
||||
indent_style = tab
|
||||
function_next_line = true
|
||||
simplify = true
|
||||
switch_case_indent = true
|
||||
|
||||
[*.{yaml,yml}]
|
||||
|
||||
Reference in New Issue
Block a user