Why this matters
Trailing whitespace adds noise to version control diffs and makes the codebase look untidy. Keeping code clean improves maintainability.
Detect lines with trailing whitespace. Trailing spaces add unnecessary noise to version control diffs. Recommend removing them to keep the codebase clean.
Trailing whitespace adds noise to version control diffs and makes the codebase look untidy. Keeping code clean improves maintainability.
Side-by-side examples engineers can pattern-match during review.
x = 42x = 42x = 42x = 42From the same buckets as this rule.