]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
feat: customize .editorconfig according to shfmt
authorHarald Hoyer <harald@redhat.com>
Wed, 10 Feb 2021 09:21:16 +0000 (10:21 +0100)
committerHarald Hoyer <harald@hoyer.xyz>
Sat, 13 Mar 2021 19:10:43 +0000 (20:10 +0100)
.editorconfig

index f805cc8c431df63a2643e8ce33d0ff1525a99cb5..1bcff3920cda7751362abad87d1299d19e24498b 100644 (file)
@@ -12,6 +12,12 @@ end_of_line = lf
 insert_final_newline = true
 trim_trailing_whitespace = true
 charset = utf-8
+indent_style = space
+indent_size = 4
+switch_case_indent = true
+function_next_line = false
+binary_next_line   = true
+space_redirects    = true
 
 # Match config files, set indent to spaces with width of eight.
 [*.{c,h}]
@@ -22,6 +28,10 @@ indent_size = 8
 [*.sh]
 indent_style = space
 indent_size = 4
+switch_case_indent = true
+function_next_line = false
+binary_next_line   = true
+space_redirects    = true
 
 # Match xml man pages, set indent to spaces with width of two.
 [man/*.xml]