LoginSignup
1
0

More than 5 years have passed since last update.

Remove SwiftLint's warnings for Pods

Last updated at Posted at 2018-01-07

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.

excluded: 
  - Pods

Done! :)

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0