Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed lint issues with SwiftLint 0.5.0 #2076

Merged
merged 1 commit into from
Nov 22, 2022
Merged

Fixed lint issues with SwiftLint 0.5.0 #2076

merged 1 commit into from
Nov 22, 2022

Commits on Nov 21, 2022

  1. Fixed lint issues with SwiftLint 0.5.0

    [The new release](https://github.com/realm/SwiftLint/releases/tag/0.50.0) is much faster as [it uses](realm/SwiftLint#4216) the [new SwiftParser](https://github.com/apple/swift-syntax).
    
    ### Changes:
    - Disabled `orphaned_doc_comment`: it provides warnings for non-public declarations (see realm/SwiftLint#4573 (comment)), but those are still useful for us.
    - `function_body_length` has a new logic
    - `large_tuple` seems to have new default thresholds, so I've specified them in `.swiftlint` to relax them. Tuples will most likely even become `Equatable` soon in Swift 6.0 so they're here to stay.
    NachoSoto committed Nov 21, 2022
    Configuration menu
    Copy the full SHA
    82d37cf View commit details
    Browse the repository at this point in the history