That will run the static analzyer and report warnings inline for created and modified files. Violations that are out of the diff will show in danger’s fail or warn section.
Report all files
By default, only the warnings from files that were added or modified are reported; however, you can use the reportAllFiles option to report warnings from all files.
Danger Xcode Static Analyzer
Danger Swift plugin for Xcode Static Analzyer. So you can get analyzer warnings on your pull requests!
Usage
Install and run Danger Swift as normal.
Then use the following
Dangerfile.swift
.That will run the static analzyer and report warnings inline for created and modified files. Violations that are out of the diff will show in danger’s fail or warn section.
Report all files
By default, only the warnings from files that were added or modified are reported; however, you can use the
reportAllFiles
option to report warnings from all files.License
#MIT4Lyfe
Attributions
Thank you, ashfurrow.