Martin L Roth has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/78830?usp=email )
Change subject: .editorconfig: Add indent style & size of 2 spaces for shell ......................................................................
.editorconfig: Add indent style & size of 2 spaces for shell
This adds a default style for shell scripts. fmtsh now looks for this when reformatting shell scripts.
Signed-off-by: Martin Roth gaumless@gmail.com Change-Id: I348f23badf302a48c851231a08c1ce4be94738a4 --- M .editorconfig 1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/30/78830/1
diff --git a/.editorconfig b/.editorconfig index eb44fcd..f270d4c 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,3 +9,7 @@ insert_final_newline = true end_of_line = lf trim_trailing_whitespace = true + +[*.sh] +indent_style = space +indent_size = 2