-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Labels
Milestone
Description
Is your feature request related to a problem? Please describe
Now that we have Elvis -level checks (like the config. checks implemented by @bormilan) I think a good addition to the elvis.config rules would be (false by default) warnings_as_errors where the goal would be to stop execution prior to rule handling if there's warnings.
Another warning we already have in place is "... yielded none" which could benefit from this.
Describe the solution you'd like
An elvis.config -level option warnings_as_errors (:: boolean()) that'd stop execution prior to analysis if warnings were emitted prior to it.
Describe alternatives you've considered
None yet. But we can always do a grep and exit.
Additional Context
n/a