Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ indent_size = 4
indent_style = space
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
trim_trailing_whitespace = false

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning — Global disablement of whitespace trimming silently degrades diff readability and code hygiene across the entire repository with no scoped justification.

Changing trim_trailing_whitespace from true to false disables trailing-whitespace removal globally for every file type in the repository. Editors that respect .editorconfig will silently accumulate whitespace-only lines over time, polluting future diffs with noise and making git blame/git bisect harder to use. If the intent is to preserve trailing spaces only for a specific type (e.g. Markdown, where two trailing spaces encode a hard line-break), the correct fix is a targeted override section rather than a global change:

[*.md]
trim_trailing_whitespace = false

The global setting should remain true.