Skip to content

Commit 0c7a61b

Browse files
authored
Merge pull request #23 from ryanbooker/feature/package-scope-1
Update import scopes and system modules lists
2 parents a6eea93 + f8faebe commit 0c7a61b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Sources/SwiftDependencyAuditLib/ImportScanner.swift

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@ public actor ImportScanner {
1515
// Handle optional access level modifiers like private, internal, public, etc.
1616
Optionally {
1717
ChoiceOf {
18-
"private"
18+
"fileprivate"
1919
"internal"
20-
"public"
2120
"open"
22-
"fileprivate"
21+
"package"
22+
"private"
23+
"public"
2324
}
2425
OneOrMore(.whitespace)
2526
}
@@ -378,6 +379,7 @@ public actor ImportScanner {
378379
"PHASE",
379380
"Photos",
380381
"PhotosUI",
382+
"Playgrounds",
381383
"PreferencePanes",
382384
"ProximityReader",
383385
"ProximityReaderStub",

0 commit comments

Comments
 (0)