Trailing whitespace
Part of Code Quality & Syntax, which counts for 20% of the overall score. When this check fires it deducts 2 points from that category, once per scan, no matter how many places it turns up.
What it detects
More than 10 lines with trailing whitespace in a single file, usually a missing editor/formatter config.
Why it matters
Trailing whitespace is invisible in the editor but real in the diff: it creates spurious changed lines, noisy reviews, and merge conflicts that have nothing to do with actual code. This many occurrences in one file means no formatter or editor setting is protecting the repo.
How to fix it
Strip it once with your formatter (Prettier, Black, and ruff format all remove trailing whitespace), then keep it out with trim_trailing_whitespace = true in .editorconfig or the trailing-whitespace hook from the pre-commit framework.
The paid report includes a ready-to-paste prompt for your AI coding agent for every check it finds, pointed at the exact findings from your scan. See pricing
Does your repo trip this check?
Paste a GitHub URL or drop a project folder. Scans run in your browser and take seconds.
Scan your repo