28a3a54c5f
Additionally fix a few code style issues found with shfmt.
42 lines
826 B
INI
42 lines
826 B
INI
# EditorConfig for archiso
|
|
# https://editorconfig.org/
|
|
#
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
# Top-most EditorConfig file
|
|
root = true
|
|
|
|
# Unix-style newlines without trailing whitespaces, but with a newline
|
|
# ending every file, utf-8 charset, set indent to spaces with width of four
|
|
[*]
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
charset = utf-8
|
|
indent_style = space
|
|
indent_size = 4
|
|
max_line_length = 120
|
|
# for shfmt
|
|
switch_case_indent = true
|
|
binary_next_line = true
|
|
|
|
|
|
[*.{yml,yaml}]
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
charset = utf-8
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[*.rst]
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
charset = utf-8
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[Makefile]
|
|
indent_style = tab
|