Skip to content
This repository was archived by the owner on Jan 18, 2024. It is now read-only.

Only fail build on errors and allow lower severities to pass #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

campbes
Copy link

@campbes campbes commented Aug 4, 2015

Add option so that complicated functions that have a lower severity than error will not fail the build.

I would have usually used a "breakOnlyOnError" type option instead of "allowWarnings", but both "breakError" and "errorsOnly" are already in use. Redefining those would cause backwards-compat issues, hence the slightly oddly named allowWarnings. Defaults to false to maintain existing behaviour.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants