Skip to content
This repository was archived by the owner on Mar 4, 2022. It is now read-only.
This repository was archived by the owner on Mar 4, 2022. It is now read-only.

Build a "pluggable" lint rule #489

Open
@eleduardo

Description

@eleduardo

The linting rules that the tool ships with are extremely powerful and very flexible. I have run into the need of adding a couple more rules but instead of contributing the rules themselves as features I was thinking if it would be better to provide a 'plugin' model where a set of pluggable modules can be added to the tool from the consumer side and via the configuration the tool just invokes those plugins.

If the team feels this could be a valuable contribution I could start working on it and send a PR where we could start the discussion.

For configuration something like this could work

lint:
group: uber2
ignores:
....
rules:
.....
pluggable:
- RULENAME

Any concerns with implementing something like this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    wishlistPotential enhancement in the future

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions