Skip to content

Conversation

@Iron-Ham
Copy link
Contributor

@Iron-Ham Iron-Ham commented Dec 28, 2025

Summary

Newer SwiftLint binaries support Swift 6 syntax (and its various features) to prevent various warnings being output every time the formatter runs.

Before:

Correcting 'Sources/IronPrimitives/IronPrimitives.swift' (161/277)
warning: Skipping correcting file because it produced Swift parser errors: /Users/heshamsalman/Developer/Personal/Copies/IronUI/Sources/IronPrimitives/ContextLine/IronContextLine.swift
{
  "diagnostics" : [
    "expected value in function call",
    "expected value in function call",
    "expected value in function call",
    "expected value in function call",
    "expected value in function call"
  ]
}

After: ✅


Reasoning

The cause of this is the enabled rule for trailing comma support in function declarations (SE-0439), which is enabled by default in the Airbnb style guide.

@calda
Copy link
Member

calda commented Dec 29, 2025

Thanks for pointing this out!

We try to keep the SwiftLint version in this repo sync'd with the version we use internally. We currently use 0.55.1. I'll look at updating this and then get back to you.

Copy link
Member

@calda calda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@calda calda merged commit f452b6a into airbnb:master Jan 2, 2026
6 checks passed
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.

2 participants