lint: [doc] Clarify Windows line endings (CR LF) not to be used

This commit is contained in:
MarcoFalke 2024-05-01 08:19:57 +02:00
parent 842f7fdf78
commit fa9be2f795
No known key found for this signature in database

View file

@ -137,9 +137,9 @@ fn lint_trailing_whitespace() -> LintResult {
if trailing_space {
Err(r#"
^^^
Trailing whitespace is problematic, because git may warn about it, or editors may remove it by
default, forcing developers in the future to either undo the changes manually or spend time on
review.
Trailing whitespace (including Windows line endings [CR LF]) is problematic, because git may warn
about it, or editors may remove it by default, forcing developers in the future to either undo the
changes manually or spend time on review.
Thus, it is best to remove the trailing space now.