Open agruchala opened 1 month ago
Swiftlint is breaking SwiftUI Previews when used as plugin in SPM package.
When Swiftlint is added as plugin to package, previews engine generates this error:
== PREVIEW UPDATE ERROR: HumanReadableSwiftError BuildError: failedToGenerateThunkInfo(could not generate preview info: noTargetBuildGraph)
Without plugin, previews works fine.
This does rather sound like an issue of SwiftUI Previews than an issue of SwiftLint.
New Issue Checklist
Describe the bug
Swiftlint is breaking SwiftUI Previews when used as plugin in SPM package.
When Swiftlint is added as plugin to package, previews engine generates this error:
Without plugin, previews works fine.