diff options
author | Martin Roth <gaumless@gmail.com> | 2023-10-31 11:15:46 -0600 |
---|---|---|
committer | Felix Singer <service+coreboot-gerrit@felixsinger.de> | 2023-12-20 22:30:33 +0000 |
commit | 677d15e8a87678008f53f47c90721678d45b0018 (patch) | |
tree | f6c819b97b7f528f47b6f706d14a074153aeec41 /.editorconfig | |
parent | e4b080ee56060843e335cad789468418f586b0b1 (diff) |
.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
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78830
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to '.editorconfig')
-rw-r--r-- | .editorconfig | 4 |
1 files changed, 4 insertions, 0 deletions
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 |