Swiftlint shows up error for the libraries that have been installed using pod. Obviously the developer would not change the code inside the 3rd prty library.
Hi @kunalgupta1593, did you know SwiftLint can ignore certain directories? It's easy, just add the following to your .swiftlint.yml file:
excluded: # paths to ignore during linting. Takes precedence over `included`.
- Carthage
- Pods
You can read more about SwiftLint's configuration options here: https://github.com/realm/SwiftLint#configuration
@kunalgupta1593 Feel free to reopen if you have any more questions!
Most helpful comment
Hi @kunalgupta1593, did you know SwiftLint can ignore certain directories? It's easy, just add the following to your
.swiftlint.ymlfile:You can read more about SwiftLint's configuration options here: https://github.com/realm/SwiftLint#configuration