I created a Swift Package and would like to integrate SwiftLint with that package. since there is no ".xcodeproj" is any other option available? FYI, I use the code for iOS platform
Thank you,
I created a Swift Package and would like to integrate SwiftLint with that package. since there is no ".xcodeproj" is any other option available? FYI, I use the code for iOS platform
Thank you,
AFAIK, theres no way to do that currently. A workaround would be to create an example project and add the swiftlint to the build phase of the that example project while giving the path to lint as the root of the directory.
This proposal has been accepted, so we can look for it in the next swift update or something https://github.com/apple/swift-evolution/blob/main/proposals/0303-swiftpm-extensible-build-tools.md