I wanted to make errors and issues accessible so that they can be introspected in the Dangerfile if needed. I also needed an option similar to the commandline option --strict which fails on any warnings or errors. Right now just passing in strict in additional_swiftlint_args doesn't work because we don't look at the status of Swiftlint to see if we should fail or not, we just look to see if there are errors. additional_swiftlint_args makes the command fail, but doesn't change warnings to errors.
I wanted to make errors and issues accessible so that they can be introspected in the Dangerfile if needed. I also needed an option similar to the commandline option
--strict
which fails on any warnings or errors. Right now just passing instrict
inadditional_swiftlint_args
doesn't work because we don't look at the status of Swiftlint to see if we should fail or not, we just look to see if there are errors.additional_swiftlint_args
makes the command fail, but doesn't change warnings to errors.