Just created a small library that enables SwiftLint in Swift Packages inside Xcode:
https://www.lukaspistrol.com/post/swiftlint-spm-plugin