Skip to content
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 maxWarnings cli option #567

Closed
house9 opened this issue Mar 10, 2016 · 2 comments
Closed

Add maxWarnings cli option #567

house9 opened this issue Mar 10, 2016 · 2 comments

Comments

@house9
Copy link
Contributor

house9 commented Mar 10, 2016

Add --max-warnings cli option similar to eslint

Exit with non-zero value when the number of warnings is greater than the maxWarning option

Easily allows failing CI builds without needing to override the default rules by specifying the 2 value for every one

@DanPurdy
Copy link
Member

Believe it or not I was actually looking at adding this very soon. Our CLI is going to get a lot of attention once 1.6 is out I think.

@house9
Copy link
Contributor Author

house9 commented Mar 10, 2016

Awesome! I went ahead and added it last night, I'll send over a PR for review

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

No branches or pull requests

2 participants