From: Emil Velikov Date: Mon, 2 Sep 2024 17:58:35 +0000 (+0100) Subject: .editorconfig: add sh(ell) section X-Git-Tag: v34~468 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c6a0a0228a21b8c7be65fe455fdc0ebe384278a5;p=thirdparty%2Fkmod.git .editorconfig: add sh(ell) section The existing in-tree (two) shell scripts are of fairly mixed style. With indent_size being 0, 4, 8 and indent_style both space and tab. The more common instance seems to be 4 spaces, so add that to the config. Updating existing scripts is deferred for another time. Signed-off-by: Emil Velikov Link: https://github.com/kmod-project/kmod/pull/86 Signed-off-by: Lucas De Marchi --- diff --git a/.editorconfig b/.editorconfig index b3bef5f8..cc175085 100644 --- a/.editorconfig +++ b/.editorconfig @@ -15,6 +15,10 @@ max_line_length = 80 [{Makefile*,*.mk}] indent_style = tab +[*.sh] +indent_style = space +indent_size = 4 + [*.yml] indent_style = space indent_size = 2