Scans the diff for trailing whitespace, space-before-tab, and blank-line-at-EOF problems and lists each occurrence. It is a common pre-commit gate in CI pipelines. The command returns a non-zero exit code when errors are found, so scripts can fail the build.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.