Skip to content

Add rule requiring type parameters #649

@marekdedic

Description

@marekdedic

Hi,
I'd like to add a rule that requires type parameters to vi.fn() because otherwise it mocks a function with any as parameters and return value. I am at the moment not sure if there are any other functions that this rule should apply to similarly.

I'm willing to make a PR if this is greenlit by the maintainers.

Metadata

Metadata

Assignees

No one assigned

    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