- Added
swiftlintPath
option toSwiftLint.lint()
. This allows providing a custom path if you want to use a specific binary instead of the global one (e.g. when using CocoaPods).
- Added
lintAllFiles
option toSwiftLint.lint()
. This will lint all existing files (instead of just the added/modified ones). However, nested configurations works when this option is enabled.
- Added
inline
option toSwiftLint.lint()
. This will trigger an inline comment instead of gathering all violations in a big main comment. For more details about inline mode, see this docs in Danger JS.
- Fixed bug where source and config file paths that contain spaces would trigger erronuous failure messages.
- Added
directory
&configFile
options toSwiftLint.lint()
function.
- This is the initial public relase.