ashfurrow / danger-ruby-swiftlint

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

Adds additional CLI argument support #59

Closed ashfurrow closed 7 years ago

ashfurrow commented 7 years ago

This adds the additional_swiftlint_args option to use SwiftLint with arbitrary additional command line arguments. Some arguments, like --lenient, can only be specified in the SwiftLint CLI invocation. It's kind of a leaky abstraction, but I tried to make the documentation clear that it's a last resort. /cc @Sega-Zero

Fixes https://github.com/ashfurrow/danger-swiftlint/issues/57.