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

lint/types/require-strict-param

In the coding-style set. Safe fix where types prove it, unsafe otherwise. Intent: suspicious.

What it does

Functions should be used with $strict param set to true.

Configuration

[lint.rules]
"types/require-strict-param" = "error"

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

Replaces

More lint/types rules · Edit this page

Last updated on

Was this page helpful?