Skip to content

Recognize isolated isolation modifier in modifier_order rule - #6759

Merged
SimplyDanny merged 1 commit into
mainfrom
isolated-modifier-order
Jun 6, 2026
Merged

SimplyDanny merged 1 commit into
mainfrom
isolated-modifier-order

Conversation

@SimplyDanny

Copy link
Copy Markdown
Collaborator

Fixes #6164.

@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.76 s vs 0.75 s on main (1% slower).
📖 Linting Alamofire with this PR took 1.05 s vs 1.04 s on main (0% slower).
📖 Linting Brave with this PR took 7.08 s vs 7.12 s on main (0% faster).
📖 Linting DuckDuckGo with this PR took 29.42 s vs 29.46 s on main (0% faster).
📖 Linting Firefox with this PR took 12.36 s vs 12.36 s on main (0% slower).
📖 Linting Kickstarter with this PR took 8.38 s vs 8.36 s on main (0% slower).
📖 Linting Moya with this PR took 0.44 s vs 0.44 s on main (0% slower).
📖 Linting NetNewsWire with this PR took 2.72 s vs 2.74 s on main (0% faster).
📖 Linting Nimble with this PR took 0.65 s vs 0.62 s on main (4% slower).
📖 Linting PocketCasts with this PR took 8.27 s vs 8.29 s on main (0% faster).
📖 Linting Quick with this PR took 0.4 s vs 0.39 s on main (2% slower).
📖 Linting Realm with this PR took 2.97 s vs 2.94 s on main (1% slower).
📖 Linting Sourcery with this PR took 1.8 s vs 1.79 s on main (0% slower).
📖 Linting Swift with this PR took 4.75 s vs 4.78 s on main (0% faster).
📖 Linting SwiftLintPerformanceTests with this PR took 0.16 s vs 0.16 s on main (0% slower).
📖 Linting VLC with this PR took 1.22 s vs 1.18 s on main (3% slower).
📖 Linting Wire with this PR took 18.38 s vs 18.37 s on main (0% slower).
📖 Linting WordPress with this PR took 12.52 s vs 12.45 s on main (0% slower).

Generated by 🚫 Danger

@SimplyDanny
SimplyDanny merged commit a43b0e7 into main Jun 6, 2026
29 checks passed
@SimplyDanny
SimplyDanny deleted the isolated-modifier-order branch June 6, 2026 09:31
Jason-Abbott added a commit to toba/swiftiomatic that referenced this pull request Jun 8, 2026
… don't insert trailing commas into attribute argument lists under multilineTrailingCommaBehavior: alwaysUsed (mirror swiftlang/swift-format#1215); recognize Swift 6.2 'isolated' declaration modifier in SortModifiers' canonical isolation slot alongside 'nonisolated' (mirror realm/SwiftLint#6759); compute NestedCallLayout.columnOffset in grapheme clusters uniformly instead of mixing String.count on tokens with UTF-8 byte length on trivia, fixing column over-count when preceding tokens or trivia contain multi-byte characters (mirror realm/SwiftLint#6747)
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.

isolation parameter for modifier_order rule

2 participants