You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there is a feature you think everyone will need, then please add it to this CLI for everyone to benefit from, but sometimes there will be custom needs of a specific project where you want to make additional checks that are too specific to your needs and should not be part of this repo. For those scenarios I propose a way to register these custom rules to be defined outside of this repo, and safely defined inside your own application.
And all the rules in that directory will be run in the same process as the official rules, and be expected to report their problems in the same way as real rules. For all intents and purposes the custom rules should be defined to work the same as the official rules, but they just live outside of this CLI.
This means that we will also need to write a step-by-step guide on how to write a custom rule. This will be nice to have anyway to help contributors write rules for the CLI, as well as help users of the CLI define custom rules that live outside of the CLI.
The text was updated successfully, but these errors were encountered:
If there is a feature you think everyone will need, then please add it to this CLI for everyone to benefit from, but sometimes there will be custom needs of a specific project where you want to make additional checks that are too specific to your needs and should not be part of this repo. For those scenarios I propose a way to register these custom rules to be defined outside of this repo, and safely defined inside your own application.
The configuration could look like this:
And all the rules in that directory will be run in the same process as the official rules, and be expected to report their problems in the same way as real rules. For all intents and purposes the custom rules should be defined to work the same as the official rules, but they just live outside of this CLI.
This means that we will also need to write a step-by-step guide on how to write a custom rule. This will be nice to have anyway to help contributors write rules for the CLI, as well as help users of the CLI define custom rules that live outside of the CLI.
The text was updated successfully, but these errors were encountered: