45ebae
# EditorConfig configuration for kexec-tools
45ebae
# http://EditorConfig.org
45ebae
45ebae
# Top-most EditorConfig file
45ebae
root = true
45ebae
45ebae
# Default code style for kexec-tools scripts
45ebae
[*]
45ebae
end_of_line = lf
45ebae
shell_variant = posix
45ebae
insert_final_newline = true
45ebae
trim_trailing_whitespace = true
45ebae
indent_style = tab
45ebae
indent_size = 1
45ebae
switch_case_indent = false
45ebae
function_next_line = true
45ebae
binary_next_line   = false
45ebae
space_redirects    = true
45ebae
45ebae
# Some scripts will only run with bash
45ebae
[{mkfadumprd,mkdumprd,kdumpctl}]
45ebae
shell_variant = bash
45ebae
45ebae
# Use dracut code style for *-module-setup.sh
45ebae
[*-module-setup.sh]
45ebae
shell_variant = bash
45ebae
indent_style = space
45ebae
indent_size = 4
45ebae
switch_case_indent = true
45ebae
function_next_line = false
45ebae
binary_next_line   = true
45ebae
space_redirects    = true