Skip to content

Commit 275faf5

Browse files
committed
fix: Exclude DerivedData and SourcePackages from SwiftLint
SwiftLint run script phase in Sentry target was linting SPM checkouts (DerivedData/SourcePackages/checkouts), causing build failures due to third-party code violations (e.g. Regex __allTests). Exclude these paths so SwiftLint only lints project source code.
1 parent 49b2fdd commit 275faf5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.swiftlint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
excluded:
22
- Pods
3+
- DerivedData
4+
- "**/SourcePackages/**"
35
- Utils/**/.build
46
- Samples/**/.build
57
- "**/build/**"

0 commit comments

Comments
 (0)