Skip to content

chore(deps): update dependency swiftlint to v0.64.1#1156

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/swiftlint-0.x
Open

chore(deps): update dependency swiftlint to v0.64.1#1156
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/swiftlint-0.x

Conversation

@renovate

@renovate renovate Bot commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Update Change
swiftlint minor 0.63.30.64.1

Release Notes

realm/SwiftLint (swiftlint)

v0.64.1

Compare Source

v0.64.0

Compare Source

Breaking
  • The ignored_literal_argument_functions option of the force_unwrapping rule now
    uses the configured value as-is instead of always merging in the five built-in defaults
    (URL(string:), NSURL(string:), UIImage(named:), NSImage(named:), Data(hexString:)).
    Those five functions remain the default when the option is not configured, but setting
    ignored_literal_argument_functions to any explicit list — including [] — now fully
    replaces the defaults. Configurations that add functions on top of the defaults must now
    explicitly include the five previously-default functions in their list.
    SimplyDanny
    #​6675
Experimental
  • None.
Enhancements
  • SwiftLint can now be built and run on Windows. It is expected to work in the same way as
    on other platforms. The only restrictions are missing support for ?[] glob patterns in
    include/exclude patterns and the requirement for \n as line ending in all linted files.
    compnerd
    roman-bcny
    SimplyDanny
    #​6351
    #​6352

  • Rename allow_implicit_init to include_implicit_init for the
    optional_data_string_conversion rule to convey its purpose more clearly.
    SimplyDanny
    #​6670

  • Improve linting performance by 10-15%, especially when running with many
    threads, by optimizing cache locking and reducing contention. Depending on
    the project and level of concurrency, the performance improvement can be even
    higher (3-4x).
    SimplyDanny

  • Rewrite the following rules with SwiftSyntax:

    • file_types_order

    SimplyDanny

  • Fix false positive in accessibility_label_for_image rule for images inside
    SwiftUI Label's icon: closure, which are inherently labeled by the
    Label's text content.
    sutheesh
    #​6420

Bug Fixes
  • Fix literal_expression_end_indentation autocorrection deleting source code
    when the closing bracket of a multiline literal shares a line with the end of
    a multiline last element (e.g. ...))]). The corrector assumed everything
    before the bracket on that line was indentation and replaced it; it now moves
    only the bracket to its own line at the expected indentation.
    Luan Câmara
    #​2823

  • Don't rewrite the type operand of an is / as? / as! cast (such as
    x is A) to Self in prefer_self_in_static_references when inside a
    class-like scope. Self is the dynamic type, so the rewrite silently changed
    runtime behavior for non-final classes (x is Self is not equivalent to
    x is A). Mirrors the rule's existing X.self skip; static member references
    such as A.f() are still corrected.
    Brett-Best
    #​6764

  • Avoid false positives in vertical_parameter_alignment when a parameter is
    preceded by multi-byte characters, such as a function name containing
    non-ASCII letters. Alignment is now compared by visible column rather than by
    UTF-8 byte offset.
    systemBlue
    #​5037

  • Treat macro declarations like function declarations for line_length when
    ignores_function_declarations is enabled.
    leno23
    #​5648

  • Make Glob.expandGlobstar tolerant of unreadable directory entries on
    large trees. subpathsOfDirectory(atPath:) aborted the entire glob
    expansion on the first unreadable entry (permission denied, dangling
    symlink, file removed mid-scan), causing most files in large projects to
    be silently ignored. Replace the directory walk with a lazy URL
    enumerator that has a per-item error handler so unreadable items are
    skipped individually.
    Chupik

  • Avoid false positives in prefer_self_in_static_references for generic
    constraints and generic parameter bounds such as where A: P and <A: P>
    in classes and extensions.
    SimplyDanny
    #​6674

  • Don't rewrite a type reference to Self in prefer_self_in_static_references
    when it appears in a protocol composition (such as any A & B), as the
    constraint of an existential or opaque type (such as any A or some A), or
    as the base of an existential metatype (such as A.Protocol), since the named
    type is not interchangeable with Self in those positions.
    Brett-Best
    #​6748


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot changed the title chore(deps): update dependency swiftlint to v0.64.0 chore(deps): update dependency swiftlint to v0.64.1 Jun 23, 2026
@renovate renovate Bot force-pushed the renovate/swiftlint-0.x branch from 8253280 to 085251a Compare June 23, 2026 12:14
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.

0 participants