Skip to content

chore(deps): update dependency realm/swiftlint to v0.65.1 - #156

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

chore(deps): update dependency realm/swiftlint to v0.65.1#156
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/realm-swiftlint-0.x

Conversation

@renovate

@renovate renovate Bot commented May 27, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Update Change
realm/SwiftLint minor 0.63.20.65.1

Release Notes

realm/SwiftLint (realm/SwiftLint)

v0.65.1

Compare Source

v0.65.0

Compare Source

Breaking
  • SwiftLint now requires a Swift 6.1 or higher for development (to run tests). The
    executable can still be built with a Swift 6 compiler. The
    Swift Package Manager plugins continue
    to work with all versions down to Swift 5.9.
    SimplyDanny
Experimental
  • None.
Enhancements
  • SwiftLint now builds with Bazel versions 7 to 9.
    SimplyDanny
Bug Fixes
  • None.

v0.64.1

Compare Source

Breaking
  • None.
Experimental
  • None.
Enhancements
  • None.
Bug Fixes
  • Honor excluded paths when the linted project is located under a system directory
    on macOS that resolves through a symlink, such as /var and /tmp (which point
    to /private/var and /private/tmp).
    tumata
    #​6782

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

v0.63.3

Compare Source

Breaking
  • None.
Experimental
  • None.
Enhancements
  • Treat extensions like classes in the prefer_self_in_static_references
    rule.
    itsybitsybootsy
    #​3993

  • Print fixed code read from stdin to stdout.
    SimplyDanny
    #​6501

  • Add new redundant_final rule that detects final modifiers on declarations
    where they are redundant due to the containing context, such as final classes
    or actors. Final actors are themselves implicitly final, so the final modifier
    is redundant on them as well.
    william-laverty
    SimplyDanny
    #​6407

  • Add discouraged_default_parameter opt-in rule that flags default parameter
    values in functions with configurable access levels.
    William-Laverty
    #​6488

  • Add ignored_literal_argument_functions option to the force_unwrapping rule
    to skip violations for configurable function calls when all arguments are
    literal values (e.g. URL(string: "https://example.com")!). Defaults
    include URL(string:), NSURL(string:), UIImage(named:),
    NSImage(named:), and Data(hexString:).
    claudeaceae
    #​6487

  • Add rules array to SARIF reporter output, providing metadata for all
    built-in rules in accordance with the SARIF specification.
    ahmadalfy
    #​6499

  • Add allow_underscore_prefixed_names option to unused_parameter so
    underscore-prefixed parameter names can be treated as intentionally
    unused when configured.
    theamodhshetty
    #​5741

  • Add detection of cases such as String.init(decoding: data, as: UTF8.self) and
    let text: String = .init(decoding: data, as: UTF8.self) to
    optional_data_string_conversion rule.
    nadeemnali
    #​6359

  • Add new default invisible_character rule that detects invisible characters
    like zero-width space (U+200B), zero-width non-joiner (U+200C),
    and FEFF formatting character (U+FEFF) in string literals, which can cause
    hard-to-debug issues.
    kapitoshka438
    #​6045

  • Add variable_shadowing rule that flags when a variable declaration shadows
    an identifier from an outer scope.
    nadeemnali
    #​6228

  • Add legacy_uigraphics_function rule to encourage the use of modern
    UIGraphicsImageRenderer instead of the legacy UIGraphics{Begin|End}ImageContext.
    The modern replacement is safer, cleaner, Retina-aware and more performant.
    Dimitri Dupuis-Latour
    #​6268

  • Add legacy_swiftui_aspect_ratio rule to prefer scaledToFit() and
    scaledToFill() over aspectRatio(contentMode:) with a constant
    content mode.
    DemiDevv
    #​5713

  • Support access level modifiers on imports in unused_imports rule.
    SimplyDanny
    #​6620

  • Add name="SwiftLint" to JUnit testsuites and testsuite output for
    better CI parser compatibility.
    theamodhshetty
    #​6161

  • Improve the opt-in pattern_matching_keywords rule by extending support
    beyond switch case and refining nested pattern handling.
    GandaLF2006

Bug Fixes
  • Recognize isolated as an isolation modifier in modifier_order, so it can
    be ordered via the isolation entry in preferred_modifier_order.
    leno23
    #​6164

  • Detect and autocorrect missing whitespace before else in guard
    statements for the statement_position rule.
    theamodhshetty
    #​6153

  • Avoid false positives from unused_enumerated when higher-order calls on
    .enumerated() use result members like ?.offset after the closure.
    theamodhshetty
    #​5881

  • Add an ignore_attributes option to implicit_optional_initialization so
    wrappers/attributes that require explicit = nil can be excluded from
    style checks for both style: always and style: never.
    theamodhshetty
    #​3998

  • Skip @TestState properties in quick_discouraged_call rule, matching
    existing @TestInjected and @TestWeakly exclusions.
    William-Laverty
    #​5803

  • Fix explicit_self false positives around string interpolation.
    jffmrk
    SimplyDanny
    #​6611

  • Properly taint variables in tuples for unneeded_escaping rule.
    SimplyDanny
    #​6621

  • Ensure that disable commands work for redundant_nil_coalescing rule.
    SimplyDanny
    #​6465

  • Take try expressions in call parameters into account even if the call has
    trailing closures as well, so that an outer throws is not considered unneeded
    in the unneeded_throws_rethrows rule.
    SimplyDanny
    #​6491

  • Ensure that disable commands work for prefer_key_path rule when the trailing
    closure starts on a different line than the function call as a whole.
    SimplyDanny
    #​6466

  • Track identifiers declared in tuples to avoid false positives in the
    redundant_self rule.
    SimplyDanny
    #​6553

  • Respect existing environment variables when setting BUILD_WORKSPACE_DIRECTORY
    in build tool plugins.
    SimplyDanny
    #​6080

  • Fix false positives in indentation_width rule for continuation lines
    of multi-line guard/if/while conditions. A new option
    include_multiline_conditions (default: false) skips these lines by
    default. When enabled, it validates that continuation lines are aligned
    with the first condition after the keyword.
    tanaev
    #​4961

  • multiline_call_arguments no longer reports violations for enum-case patterns in
    pattern matching (e.g. if case, switch case, for case, catch).
    GandaLF2006

  • Avoid false positives in prefer_self_in_static_references when a nested type
    shadows its enclosing type name.
    theamodhshetty
    #​5917


Configuration

📅 Schedule: (UTC)

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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 force-pushed the renovate/realm-swiftlint-0.x branch from ae54db4 to cf5c558 Compare June 11, 2026 07:52
@renovate
renovate Bot force-pushed the renovate/realm-swiftlint-0.x branch from cf5c558 to da595b7 Compare June 21, 2026 13:15
@renovate renovate Bot changed the title chore(deps): update dependency realm/swiftlint to v0.63.3 chore(deps): update dependency realm/swiftlint to v0.64.0 Jun 21, 2026
@renovate renovate Bot changed the title chore(deps): update dependency realm/swiftlint to v0.64.0 chore(deps): update dependency realm/swiftlint to v0.64.1 Jun 23, 2026
@renovate
renovate Bot force-pushed the renovate/realm-swiftlint-0.x branch from da595b7 to 223fa60 Compare June 23, 2026 07:48
@renovate renovate Bot changed the title chore(deps): update dependency realm/swiftlint to v0.64.1 chore(deps): update dependency realm/swiftlint to v0.65.0 Jun 27, 2026
@renovate
renovate Bot force-pushed the renovate/realm-swiftlint-0.x branch from 223fa60 to bedcf74 Compare June 27, 2026 10:39
@renovate renovate Bot changed the title chore(deps): update dependency realm/swiftlint to v0.65.0 chore(deps): update dependency realm/swiftlint to v0.65.1 Aug 21, 2026
@renovate
renovate Bot force-pushed the renovate/realm-swiftlint-0.x branch from bedcf74 to a969c83 Compare August 21, 2026 21:53
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