Sweeps text files for trailing whitespace and missing/duplicate end-of-file newlines, with optional line-ending or tab normalization, defaulting to a check-only dry run. Use when the user wants to clean up whitespace issues, fix "no newline at end of file" warnings, or add a whitespace lint check across changed or tracked files.