-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement a feature to enable user to run custom checks #1202
Comments
@Nytelife26 these are the design ideas I have come up with. Want to verify before proceeding: Option 1
Option 2
I feel option 2 is the better way to go here since it allows user to utilize the existing functionality. The only extra work here will be to validate the checks provided by user as input and ensure that they are in the same format as proselint checks. |
I can share a detailed design doc once we confirm the approach to take. |
We had quite a lengthy discussion about this already. In the end, @suchow and I came up with the idea to:
So, I think we should do everything to encourage putting people's work in the main repository and ensure the ones in there are well-vetted, good, high-quality extensions, but people are still allowed to point to their own local checks if they really want to or during development. |
To confirm, the scope of this issue would be to fix the second part? Further, this might help as well: updating the readme to encourage people to submit their checks in the main repo: including instructions on creating a new check and explaining the significance of the test before submitting it to the main repo. |
What about the config in this case? Should we expect the user to provide an updated config where all custom checks are also listed or should it be assumed that all custom checks are to be run even if not mentioned in config? I am in favour of an updated config - just to be consistent with how the existing checks are run. |
What do you mean by that?
Perfect suggestion, that was part of what we were planning :) I can draft up the README changes, but we first need more consensus on the plan here.
Configuration should never make erroneous assumptions - if they want to enable these additional checks every time, they must be specified in config. Else, we can only rely on CLI args for individual sessions. |
Implement a feature via which a user can specify path to a custom checks folder and run them.
The text was updated successfully, but these errors were encountered: