README.md in danger-swiftformat-0.8.1 vs README.md in danger-swiftformat-0.9.0

- old
+ new

@@ -61,9 +61,15 @@ ```ruby swiftformat.exclude = %w(Pods/** Carthage/** Sources/Nope.swift **/*_autogenerated.swift) ``` +If you want the format results shows in the diff instead of a comment, you can use the `inline_mode` option. Violations that are out of the diff will be shown in danger's fail or warn section: + +```ruby +swiftformat.inline_mode = true +``` + The `exclude` option takes an array of glob patterns; you can find additional documentation on the patterns [here](https://ruby-doc.org/core-2.6.3/File.html#method-c-fnmatch). ## Development