Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

lint/strings/no-trailing-whitespace-in-string

Not in any set. Unsafe fix: it can change behaviour. Intent: suspicious.

What it does

There must be no trailing whitespace at the end of lines in strings.

Configuration

[lint.rules]
"strings/no-trailing-whitespace-in-string" = "error"

To skip it in some files, add an override or a @pun-ignore-file comment.

Replaces

More lint/strings rules · Edit this page

Last updated on

Was this page helpful?