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
Then, add the following code to the .swiftlint.yml file. The linter will ignore those folders the next time.
excluded: - Pods