Swiftlint: shows up error for libraries in Podfile

Created on 10 Feb 2017  路  2Comments  路  Source: realm/SwiftLint

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.

question

Most helpful comment

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

All 2 comments

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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Tableau-David-Potter picture Tableau-David-Potter  路  3Comments

ArthurMaroulier picture ArthurMaroulier  路  3Comments

ziryanov picture ziryanov  路  3Comments

larslockefeer picture larslockefeer  路  3Comments

BalestraPatrick picture BalestraPatrick  路  3Comments