Skip to content

New rule: no-interfaces #572

@MaxDac

Description

@MaxDac

Suggestion

The new rule would forbid defining interfaces in favour of types. The reason behind this rule would be to avoid the existence of two language features that offer almost the same functionality. The rule would suggest the usage of types instead.

I created an implementation example in this fork if that can be useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DeclinedThis issue or PR has been declined.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions