Skip to content

Visit infix operator expressions directly to reduce potential scope - #6472

Merged
SimplyDanny merged 1 commit into
mainfrom
nil-coalescing
Jan 31, 2026
Merged

SimplyDanny merged 1 commit into
mainfrom
nil-coalescing

Conversation

@SimplyDanny

Copy link
Copy Markdown
Collaborator

Fixes #6465.

@SwiftLintBot

Copy link
Copy Markdown
19 Messages
📖 Building this branch resulted in a binary size of 27252.48 KiB vs 27253.15 KiB when built on main (-1% smaller).
📖 Linting Aerial with this PR took 0.19 s vs 0.19 s on main (0% slower).
📖 Linting Alamofire with this PR took 0.23 s vs 0.2 s on main (15% slower).
📖 Linting Brave with this PR took 1.03 s vs 0.81 s on main (27% slower).
📖 Linting DuckDuckGo with this PR took 3.51 s vs 3.15 s on main (11% slower).
📖 Linting Firefox with this PR took 1.7 s vs 1.5 s on main (13% slower).
📖 Linting Kickstarter with this PR took 1.03 s vs 0.89 s on main (15% slower).
📖 Linting Moya with this PR took 0.15 s vs 0.17 s on main (11% faster).
📖 Linting NetNewsWire with this PR took 0.39 s vs 0.32 s on main (21% slower).
📖 Linting Nimble with this PR took 0.17 s vs 0.16 s on main (6% slower).
📖 Linting PocketCasts with this PR took 1.12 s vs 0.88 s on main (27% slower).
📖 Linting Quick with this PR took 0.14 s vs 0.16 s on main (12% faster).
📖 Linting Realm with this PR took 0.52 s vs 0.45 s on main (15% slower).
📖 Linting Sourcery with this PR took 0.34 s vs 0.31 s on main (9% slower).
📖 Linting Swift with this PR took 0.66 s vs 0.46 s on main (43% slower).
📖 Linting SwiftLintPerformanceTests with this PR took 3.82 s vs 3.81 s on main (0% slower).
📖 Linting VLC with this PR took 0.31 s vs 0.26 s on main (19% slower).
📖 Linting Wire with this PR took 2.3 s vs 1.99 s on main (15% slower).
📖 Linting WordPress with this PR took 1.68 s vs 1.36 s on main (23% slower).

Generated by 🚫 Danger

@SimplyDanny
SimplyDanny merged commit fba2bd9 into main Jan 31, 2026
@SimplyDanny
SimplyDanny deleted the nil-coalescing branch January 31, 2026 21:40
nadeemnali pushed a commit to nadeemnali/SwiftLint that referenced this pull request Feb 26, 2026
nadeemnali pushed a commit to nadeemnali/SwiftLint that referenced this pull request Feb 26, 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.

swiftlint --fix ignores disable comment for redundant_nil_coalescing

2 participants