SwiftLint scans all of the files in your workspace, including the Pods folder. It would be a huge problem since quite a few pods following the rule of the Linter.

Fortunately, we are able to silent those warnings in the pods.

First, add .swiftlint.yml to your project folder

touch .swiftlint.yml

Then, add the following code to the .swiftlint.yml file. The linter will ignore those folders the next time.

  - Pods

Done! :)

Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account log in.