-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
Combine severity types #288
base: main
Are you sure you want to change the base?
Conversation
This comment has been minimized.
This comment has been minimized.
void[] | [Options | Label | Severity] | [boolean | Label | Severity, Options], | ||
Tree | ||
> | ||
): Plugin<void[] | [Options | Severity] | [boolean | Severity, Options], Tree> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doing so makes the lintRule()
signature (which is external) a little simpler, I think?
Can you fill out the checklist in the template? :) |
|
Meh, I feel like they’re semantically a different thing?
What’s the reason you want to make this change? What does it improve? |
Does the difference matter? Outside of the implementation
Little, admittedly. 😬 I'm happy to let it go if you'd prefer not to. |
Initial checklist
Description of changes
Another unimportant change: What do you think about adding the severity string literals to the
Severity
type? The purely-numeric type ({0|1|2}
) is an internal detail, I think?