ashfurrow / danger-ruby-swiftlint

A Danger plugin for SwiftLint.
https://rubygems.org/gems/danger-swiftlint
MIT License
203 stars 81 forks source link

[Feature Request] Ability to limit the number of warnings in a PR #64

Closed thii closed 7 years ago

thii commented 7 years ago

PRs from branches that has a large diff could easily trigger hundreds of SwiftLint warnings and errors (hence hundreds of GitHub notification emails). In worst case, GitHub couldn't even load the PR page. It would be great if we could set a maximum number of warnings in a single PR so the PR submitter could focus on fixing one by one.

ashfurrow commented 7 years ago

Yeah, I think that makes sense – want to submit a PR?

thii commented 7 years ago

How about adding a limit or max_issues option?