Skip to content

Add "vertfn" linter #3481

Open
Open
@leonklingele

Description

@leonklingele

Your feature request related to a problem? Please describe.

The vertfn linter ensures Vertical Function Ordering.

As per their README:

Vertical Ordering In general we want function call dependencies to point in the downward direction. That is, a function that is called should be bellow a function that does the calling. This creates a nice flow down the source code module from the high level to low level. As in newspaper articles, we expect the most important concepts to come first, and we expect them to be expressed with the least amount of polluting detail. We expect the low-level details to come last. This allows us to skim source files, getting the gist from the frist few functions, without having to immerge ourselves in the details. — Clean Code, Chapter 5, p84, Robert C. Martin, 2009

https://github.com/nikolaydubina/vertfn

Describe the solution you'd like.

Describe alternatives you've considered.

Additional context.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improvementlinter: newSupport new linterno decisionNo decision to fix or not

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions