README.md in danger-iblinter-0.0.4 vs README.md in danger-iblinter-0.0.5

- old
+ new

@@ -1,8 +1,8 @@ # Danger IBLinter -[![Build Status](https://travis-ci.org/IBDecodable/danger-ruby-iblinter.svg?branch=master)](https://travis-ci.org/IBDecodable/danger-ruby-iblinter) +[![Build Status](https://travis-ci.org/IBDecodable/danger-ruby-iblinter.svg?branch=master)](https://travis-ci.org/IBDecodable/danger-ruby-iblinter) [![Gem Version](https://badge.fury.io/rb/danger-iblinter.svg)](https://badge.fury.io/rb/danger-iblinter) A danger plugin for IBLinter. ## Installation @@ -16,9 +16,20 @@ ```ruby iblinter.binary_path = "./Pods/IBLinter/bin/iblinter" iblinter.lint("./path/to/project", fail_on_warning: true, inline_mode: true) ``` + +```ruby +iblinter.execute_command = "swift run iblinter" +iblinter.lint("./path/to/project", fail_on_warning: true, inline_mode: true) +``` + +| parameter | default | +|:---------------:|:-------:| +| fail_on_warning | false | +| inline_mode | true | + ## Development 1. Clone this repo 2. Run `bundle install` to setup dependencies.