Skip to content

Support access level modifiers on imports in unused_imports - #6631

Merged
SimplyDanny merged 1 commit into
mainfrom
acl-imports
May 6, 2026
Merged

SimplyDanny merged 1 commit into
mainfrom
acl-imports

Conversation

@SimplyDanny

Copy link
Copy Markdown
Collaborator

Resolves #6620.

@SwiftLintBot

Copy link
Copy Markdown
19 Messages
📖 Building this branch resulted in a binary size of 27621.71 KiB vs 27621.54 KiB when built on main (0% larger).
📖 Linting Aerial with this PR took 0.83 s vs 0.8 s on main (3% slower).
📖 Linting Alamofire with this PR took 1.12 s vs 1.12 s on main (0% slower).
📖 Linting Brave with this PR took 7.43 s vs 7.35 s on main (1% slower).
📖 Linting DuckDuckGo with this PR took 29.22 s vs 29.4 s on main (0% faster).
📖 Linting Firefox with this PR took 12.48 s vs 12.5 s on main (0% faster).
📖 Linting Kickstarter with this PR took 8.61 s vs 8.61 s on main (0% slower).
📖 Linting Moya with this PR took 0.46 s vs 0.47 s on main (2% faster).
📖 Linting NetNewsWire with this PR took 2.89 s vs 2.9 s on main (0% faster).
📖 Linting Nimble with this PR took 0.69 s vs 0.67 s on main (2% slower).
📖 Linting PocketCasts with this PR took 8.08 s vs 8.26 s on main (2% faster).
📖 Linting Quick with this PR took 0.44 s vs 0.47 s on main (6% faster).
📖 Linting Realm with this PR took 3.06 s vs 3.08 s on main (0% faster).
📖 Linting Sourcery with this PR took 1.91 s vs 1.87 s on main (2% slower).
📖 Linting Swift with this PR took 4.79 s vs 4.82 s on main (0% faster).
📖 Linting SwiftLintPerformanceTests with this PR took 0.33 s vs 0.33 s on main (0% slower).
📖 Linting VLC with this PR took 1.28 s vs 1.27 s on main (0% slower).
📖 Linting Wire with this PR took 19.24 s vs 19.24 s on main (0% slower).
📖 Linting WordPress with this PR took 12.92 s vs 12.92 s on main (0% slower).

Generated by 🚫 Danger

@SimplyDanny
SimplyDanny enabled auto-merge (squash) May 6, 2026 06:35
@SimplyDanny
SimplyDanny merged commit 3343034 into main May 6, 2026
20 checks passed
@SimplyDanny
SimplyDanny deleted the acl-imports branch May 6, 2026 07:06
nadeemnali pushed a commit to nadeemnali/SwiftLint that referenced this pull request May 17, 2026
nadeemnali pushed a commit to nadeemnali/SwiftLint that referenced this pull request May 17, 2026
nadeemnali pushed a commit to nadeemnali/SwiftLint that referenced this pull request May 17, 2026
nadeemnali pushed a commit to nadeemnali/SwiftLint that referenced this pull request May 17, 2026
nadeemnali pushed a commit to nadeemnali/SwiftLint that referenced this pull request May 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

unused_import seems to work only for public imports

2 participants