From 677d15e8a87678008f53f47c90721678d45b0018 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Tue, 31 Oct 2023 11:15:46 -0600 Subject: [PATCH] .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 Change-Id: I348f23badf302a48c851231a08c1ce4be94738a4 Reviewed-on: https://review.coreboot.org/c/coreboot/+/78830 Reviewed-by: Felix Singer Tested-by: build bot (Jenkins) --- .editorconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.editorconfig b/.editorconfig index eb44fcd7e4..f270d4cdaa 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,3 +9,7 @@ charset = utf-8 insert_final_newline = true end_of_line = lf trim_trailing_whitespace = true + +[*.sh] +indent_style = space +indent_size = 2