Skip to content

Check whether closure is in disabled region - #6474

Merged
SimplyDanny merged 1 commit into
mainfrom
prefer-key-path
Jan 31, 2026
Merged

SimplyDanny merged 1 commit into
mainfrom
prefer-key-path

Conversation

@SimplyDanny

Copy link
Copy Markdown
Collaborator

Fixes #6466.

Base automatically changed from nil-coalescing to main January 31, 2026 21:40
@SwiftLintBot

Copy link
Copy Markdown
19 Messages
📖 Building this branch resulted in the same binary size as when built on main.
📖 Linting Aerial with this PR took 0.2 s vs 0.21 s on main (4% faster).
📖 Linting Alamofire with this PR took 0.21 s vs 0.2 s on main (4% slower).
📖 Linting Brave with this PR took 0.83 s vs 0.82 s on main (1% slower).
📖 Linting DuckDuckGo with this PR took 3.12 s vs 3.14 s on main (0% faster).
📖 Linting Firefox with this PR took 1.49 s vs 1.49 s on main (0% slower).
📖 Linting Kickstarter with this PR took 0.88 s vs 0.87 s on main (1% slower).
📖 Linting Moya with this PR took 0.1 s vs 0.1 s on main (0% slower).
📖 Linting NetNewsWire with this PR took 0.33 s vs 0.33 s on main (0% slower).
📖 Linting Nimble with this PR took 0.17 s vs 0.17 s on main (0% slower).
📖 Linting PocketCasts with this PR took 0.88 s vs 0.89 s on main (1% faster).
📖 Linting Quick with this PR took 0.16 s vs 0.13 s on main (23% slower).
📖 Linting Realm with this PR took 0.45 s vs 0.45 s on main (0% slower).
📖 Linting Sourcery with this PR took 0.33 s vs 0.29 s on main (13% slower).
📖 Linting Swift with this PR took 0.46 s vs 0.48 s on main (4% faster).
📖 Linting SwiftLintPerformanceTests with this PR took 3.85 s vs 3.86 s on main (0% faster).
📖 Linting VLC with this PR took 0.23 s vs 0.22 s on main (4% slower).
📖 Linting Wire with this PR took 1.97 s vs 1.96 s on main (0% slower).
📖 Linting WordPress with this PR took 1.34 s vs 1.34 s on main (0% slower).

Generated by 🚫 Danger

@SimplyDanny
SimplyDanny merged commit f0c61bd into main Jan 31, 2026
@SimplyDanny
SimplyDanny deleted the prefer-key-path branch January 31, 2026 22:04
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:this comment for prefer_key_path rule

2 participants