Skip to content

too_many_lines should only highlight the function signature, and not the entire function body #15430

@SabrinaJewson

Description

@SabrinaJewson

Currently, the too_many_lines lint highlights the entire function body. This makes it annoying when working on a large function that will be refactored later. It would be better if it only highlighted the function signature to be less distracting.

Screenshot: My editor, showing a function with every line underlined in yellow. I find this yellow underlining distracting.

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions