# SPDX-Version: 3.0
# SPDX-CreationInfo: 2025-05-05; WEIDNER, Marc S.; <msw@coresecret.dev>
# SPDX-ExternalRef: GIT https://git.coresecret.dev/msw/CISS.debian.live.builder.git
# SPDX-FileContributor: WEIDNER, Marc S.; Centurion Intelligence Consulting Agency
# SPDX-FileCopyrightText: 2024-2025; WEIDNER, Marc S.; <msw@coresecret.dev>
# SPDX-FileType: SOURCE
# SPDX-License-Identifier: LicenseRef-CNCL-1.1 OR LicenseRef-CCLA-1.1
# SPDX-LicenseComment: This file is part of the CISS.debian.installer.secure framework.
# SPDX-PackageName: CISS.debian.live.builder
# SPDX-Security-Contact: security@coresecret.eu

# EditorConfig is awesome: https://editorconfig.org

root = true

[*]
indent_style = space
indent_size = 2
tab_width = 2
max_line_length = 128

[*.conf]
end_of_line = lf
charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true

[{makefile,*.mk}]
indent_style = tab
tab_width    = 8

[*.md]
end_of_line = lf
# Markdown benefits from a final newline for POSIX tools
insert_final_newline = true
# Do not trim trailing whitespace: two spaces at end-of-line signal a hard line break in Markdown
trim_trailing_whitespace = false

#[*.toml]
#end_of_line = lf
#insert_final_newline = true
## TOML values can include strings where trailing spaces may matter; better not trim
#trim_trailing_whitespace = false
#charset = utf-8

[*.{yaml,yml}]
end_of_line = lf
insert_final_newline = true
# Trim trailing whitespace (safe, since YAML does not rely on trailing spaces)
trim_trailing_whitespace = true

[*.{sh,bash,zsh}]
end_of_line = lf
charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=conf
