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

lint/style/no-redundant-final

In the modernize set. Unsafe fix: it can change behaviour.

What it does

Removes final from methods where possible.

Configuration

[lint.rules]
"style/no-redundant-final" = "error"

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

Options

Name Type Allowed values Default Upstream name
private-methods bool Any true private_methods

Replaces

More lint/style rules · Edit this page

Last updated on

Was this page helpful?