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

lint/operators/no-error-suppression

In the code-quality set. Unsafe fix: it can change behaviour. Intent: suspicious.

What it does

Error control operator should be added to deprecation notices and/or removed from other cases.

Configuration

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

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

Options

Name Type Allowed values Default Upstream name
mute-deprecation-error bool Any true mute_deprecation_error
noise-remaining-usages bool Any false noise_remaining_usages
noise-remaining-usages-exclude list Any [] noise_remaining_usages_exclude

Replaces

More lint/operators rules · Edit this page

Last updated on

Was this page helpful?