editorconfig: add directives for whitespace issues

This commit is contained in:
Andrej730 authored and Ivan Pozdeev committed 2026-10-31 15:28:06 +03:00
1 parent 32c297e66c
commit 9153118dd0
1 file changed
+9
+9
View File
@@ -4,8 +4,17 @@ root = true
[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
# Makefiles always use tabs for indentation
[Makefile]
indent_style = tab
indent_size = unset # Allow user-defined tab width
# Keep in sync with CHECK_WHITESPACE_EXCLUDE in Makefile.
[*.{patch,diff,md}]
trim_trailing_whitespace = false
# `false` here actually means "ensure no newline",
# while `unset` means "leave it as-is".
insert_final_newline = unset