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

lint/operators/no-useless-nullsafe

In the dead-code set. Safe fix.

What it does

There should not be useless Null-safe operator ?-> used.

Configuration

[lint.rules]
"operators/no-useless-nullsafe" = "error"

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

Replaces

More lint/operators rules · Edit this page

Last updated on

Was this page helpful?