Skip to content

Commit 9d71ce8

Browse files
authored
Merge pull request #643 from stotic-dev/update_ios_app_document
Updated tutorial documentation to add notes when using swiftlint
2 parents 0c28968 + 7689c16 commit 9d71ce8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Documentation/tutorials/ios_app.html.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,17 @@ SwiftLint.lint(swiftlintPath: "Pods/SwiftLint/swiftlint")
133133

134134
This is mainly the work of [Ash Furrow][ash] and [Łukasz Mróz][sun] over at [danger-swiftlint][].
135135

136+
#### Note
137+
138+
If the following setting is enabled in the SwiftLint configuration specified for the configFile argument, Danger will fail because it cannot parse the output from SwiftLint.
139+
140+
When using SwiftLint with Danger, you need to either set the following configuration to false or remove it.
141+
142+
```yml
143+
# If true, SwiftLint will check for updates after linting or analyzing.
144+
check_for_updates: true
145+
```
146+
136147
## Next steps
137148
138149
- Read the [Culture doc][culture] on how to introduce new rules without annoying teammates

0 commit comments

Comments
 (0)