chore: optimize .editorconfig for consistent coding style
Some checks failed
railiance-tests / smoke (push) Has been cancelled

This commit is contained in:
2025-09-12 02:19:01 +02:00
parent 59863b4214
commit 57d0442291

View File

@@ -1,7 +1,33 @@
# .editorconfig for Railiance
# See: https://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true
# Default indentation
indent_style = space
indent_size = 2
# Markdown: don't strip trailing whitespace (needed for line breaks)
[*.md]
trim_trailing_whitespace = false
# YAML & Ansible playbooks: 2 spaces
[*.{yml,yaml}]
indent_style = space
indent_size = 2
# Shell scripts: 2 spaces, LF enforced above
[*.sh]
indent_style = space
indent_size = 2
# Python: 4 spaces
[*.py]
indent_style = space
indent_size = 4