-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Ability to set a threshold of warnings to throw an error #696
Comments
This is fairly easy to build, so @Nitner0C I'd encourage you to try implementing this yourself if you're looking for ways to contribute 😄 |
I would love this too! @jpsim Could you point me in the right direction? Id love to look into contributing :) |
Ive prototyped something up, but it just counts the warnings thrown by swiftlint. Would you know if there is anyway we could pass the number of warnings currently in the project from xcode to swiftlint when we start linting. The reason is Say we have 5 warnings in the project and then when we lint we get another 15 warnings I would like to throw an error as the total is 20 or above |
I think this can be closed as #757 was merged |
🙏 |
I've looked for this in the issues, but haven't found it...
It would be cool to set a warning threshold to raise an error
The text was updated successfully, but these errors were encountered: