How can I configure swiftlint to check my pod with files in _Development Pods_ folder?
I have created my CocoaPod with the example below and I have an Example project as well.
pod lib create MyLibrary
Have you tried following the instructions on README?
off course @marcelofabri. I麓m able to run swiftlint in my Example project and validate my example code but not the actual pod files in the _Development Pods folder_.
@davnag since Pods are isolated projects/components, I would recommend to lint those projects separately, not as part of your project.
Development Pods are in a parent folder IIRC. You need to update your run script to go to that folder first.
Closing this due to lack of activity.
If anybody figured this out, I'd love to know how it was done.
I'm also having problem with that.
"I'm able to run swiftlint in my Example project and validate my example code but not the actual pod files in the Development Pods folder."
@moppymopperson, @ricardohochman, @davnag
Have now managed to resolve this, as per @marcelofabri mentions you need to change the run script directory first.
e.g

It still doesn't see the .swiftlint.yml file
where should i put it?
@nahlam You should put the .swiftlint.yml in the root of the Example folder. Then you must configure it so that only look for warnings in your development pod:
excluded:
- Pods
included:
- ../DevelopmentPodName
Most helpful comment
@nahlam You should put the
.swiftlint.ymlin the root of the Example folder. Then you must configure it so that only look for warnings in your development pod: