-
Notifications
You must be signed in to change notification settings - Fork 68
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
Add failOnError parameter #153
Conversation
It seems plugins use a wide range of variants; see this section for a number of examples. (Thanks for picking this up; it'll allow us to drop this special treatment of |
Indeed there does not seem to be a strong standard around naming, but some variant of I feel a bit partial towards In comparison, the maven compiler plugin choice of |
Thanks @Stephan202 and @danielnorberg for the examples 👍 |
Do we consider the formatting violations to be "warnings" or "errors"? I believe warnings usually do not by default fail builds whereas errors do. If we want to keep the behavior of failing the build on formatting violations by default then I'd consider them to be "errors" and call this parameter |
I guess since the whole job of the check goal is to find the errors, and the output is not warnings in the process of doing something else, in contrast to the compiler plugin that compiles AND shows any warnings, that failOnError, or maybe the failOnViolation, makes a lot of sense. |
sgtm |
Solves #59
Per discussions below naming parameter
failOnError