Description
Trailing whitespace (spaces and tabs at the end of lines) is invisible noise that clutters diffs in version control. This rule detects and can automatically remove trailing whitespace from all lines in a Dockerfile.Companion editor configuration
Use EditorConfig integration to configure IDEs and editors to trim trailing whitespace before tally reports it.Examples
Bad
· = space, → = tab)