]> git.ipfire.org Git - thirdparty/dracut.git/blob - .editorconfig
fix(zfcp_rules): correct shellcheck regression when parsing ccw args
[thirdparty/dracut.git] / .editorconfig
1 # EditorConfig configuration for dracut
2 # http://EditorConfig.org
3
4 # If you update this file make sure to update .dir-locals.el and .vimrc too.
5
6 # Top-most EditorConfig file
7 root = true
8
9 # Unix-style newlines with a newline ending every file, utf-8 charset
10 [*]
11 end_of_line = lf
12 insert_final_newline = true
13 trim_trailing_whitespace = true
14 charset = utf-8
15 indent_style = space
16 indent_size = 4
17 switch_case_indent = true
18 function_next_line = false
19 binary_next_line = true
20 space_redirects = true
21
22 # Match config files, set indent to spaces with width of eight.
23 [*.{c,h}]
24 indent_style = space
25 indent_size = 8
26
27 # Match config files, set indent to spaces with width of four.
28 [*.sh]
29 indent_style = space
30 indent_size = 4
31 switch_case_indent = true
32 function_next_line = false
33 binary_next_line = true
34 space_redirects = true
35
36 # Match xml man pages, set indent to spaces with width of two.
37 [man/*.xml]
38 indent_style = space
39 indent_size = 2