chore(deps): update dependency realm/swiftlint to v0.65.1 - #156
Open
renovate[bot] wants to merge 1 commit into
Open
chore(deps): update dependency realm/swiftlint to v0.65.1#156renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/realm-swiftlint-0.x
branch
from
June 11, 2026 07:52
ae54db4 to
cf5c558
Compare
renovate
Bot
force-pushed
the
renovate/realm-swiftlint-0.x
branch
from
June 21, 2026 13:15
cf5c558 to
da595b7
Compare
renovate
Bot
force-pushed
the
renovate/realm-swiftlint-0.x
branch
from
June 23, 2026 07:48
da595b7 to
223fa60
Compare
renovate
Bot
force-pushed
the
renovate/realm-swiftlint-0.x
branch
from
June 27, 2026 10:39
223fa60 to
bedcf74
Compare
renovate
Bot
force-pushed
the
renovate/realm-swiftlint-0.x
branch
from
August 21, 2026 21:53
bedcf74 to
a969c83
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.63.2→0.65.1Release Notes
realm/SwiftLint (realm/SwiftLint)
v0.65.1Compare Source
v0.65.0Compare Source
Breaking
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
Enhancements
SimplyDanny
Bug Fixes
v0.64.1Compare Source
Breaking
Experimental
Enhancements
Bug Fixes
excludedpaths when the linted project is located under a system directoryon macOS that resolves through a symlink, such as
/varand/tmp(which pointto
/private/varand/private/tmp).tumata
#6782
v0.64.0Compare Source
Breaking
ignored_literal_argument_functionsoption of theforce_unwrappingrule nowuses 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_functionsto any explicit list — including[]— now fullyreplaces 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
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 ininclude/exclude patterns and the requirement for
\nas line ending in all linted files.compnerd
roman-bcny
SimplyDanny
#6351
#6352
Rename
allow_implicit_inittoinclude_implicit_initfor theoptional_data_string_conversionrule 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_orderSimplyDanny
Fix false positive in
accessibility_label_for_imagerule for images insideSwiftUI
Label'sicon:closure, which are inherently labeled by theLabel's text content.sutheesh
#6420
Bug Fixes
Fix
literal_expression_end_indentationautocorrection deleting source codewhen the closing bracket of a multiline literal shares a line with the end of
a multiline last element (e.g.
...))]). The corrector assumed everythingbefore 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 asx is A) toSelfinprefer_self_in_static_referenceswhen inside aclass-like scope.
Selfis the dynamic type, so the rewrite silently changedruntime behavior for non-final classes (
x is Selfis not equivalent tox is A). Mirrors the rule's existingX.selfskip; static member referencessuch as
A.f()are still corrected.Brett-Best
#6764
Avoid false positives in
vertical_parameter_alignmentwhen a parameter ispreceded 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_lengthwhenignores_function_declarationsis enabled.leno23
#5648
Make
Glob.expandGlobstartolerant of unreadable directory entries onlarge trees.
subpathsOfDirectory(atPath:)aborted the entire globexpansion 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
URLenumerator that has a per-item error handler so unreadable items are
skipped individually.
Chupik
Avoid false positives in
prefer_self_in_static_referencesfor genericconstraints and generic parameter bounds such as
where A: Pand<A: P>in classes and extensions.
SimplyDanny
#6674
Don't rewrite a type reference to
Selfinprefer_self_in_static_referenceswhen it appears in a protocol composition (such as
any A & B), as theconstraint of an existential or opaque type (such as
any Aorsome A), oras the base of an existential metatype (such as
A.Protocol), since the namedtype is not interchangeable with
Selfin those positions.Brett-Best
#6748
v0.63.3Compare Source
Breaking
Experimental
Enhancements
Treat extensions like classes in the
prefer_self_in_static_referencesrule.
itsybitsybootsy
#3993
Print fixed code read from stdin to stdout.
SimplyDanny
#6501
Add new
redundant_finalrule that detectsfinalmodifiers on declarationswhere they are redundant due to the containing context, such as
finalclassesor actors. Final actors are themselves implicitly final, so the
finalmodifieris redundant on them as well.
william-laverty
SimplyDanny
#6407
Add
discouraged_default_parameteropt-in rule that flags default parametervalues in functions with configurable access levels.
William-Laverty
#6488
Add
ignored_literal_argument_functionsoption to theforce_unwrappingruleto skip violations for configurable function calls when all arguments are
literal values (e.g.
URL(string: "https://example.com")!). Defaultsinclude
URL(string:),NSURL(string:),UIImage(named:),NSImage(named:), andData(hexString:).claudeaceae
#6487
Add
rulesarray to SARIF reporter output, providing metadata for allbuilt-in rules in accordance with the SARIF specification.
ahmadalfy
#6499
Add
allow_underscore_prefixed_namesoption tounused_parametersounderscore-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)andlet text: String = .init(decoding: data, as: UTF8.self)tooptional_data_string_conversionrule.nadeemnali
#6359
Add new default
invisible_characterrule that detects invisible characterslike 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_shadowingrule that flags when a variable declaration shadowsan identifier from an outer scope.
nadeemnali
#6228
Add
legacy_uigraphics_functionrule to encourage the use of modernUIGraphicsImageRendererinstead of the legacyUIGraphics{Begin|End}ImageContext.The modern replacement is safer, cleaner, Retina-aware and more performant.
Dimitri Dupuis-Latour
#6268
Add
legacy_swiftui_aspect_ratiorule to preferscaledToFit()andscaledToFill()overaspectRatio(contentMode:)with a constantcontent mode.
DemiDevv
#5713
Support access level modifiers on imports in
unused_importsrule.SimplyDanny
#6620
Add
name="SwiftLint"to JUnittestsuitesandtestsuiteoutput forbetter CI parser compatibility.
theamodhshetty
#6161
Improve the opt-in
pattern_matching_keywordsrule by extending supportbeyond
switch caseand refining nested pattern handling.GandaLF2006
Bug Fixes
Recognize
isolatedas an isolation modifier inmodifier_order, so it canbe ordered via the
isolationentry inpreferred_modifier_order.leno23
#6164
Detect and autocorrect missing whitespace before
elseinguardstatements for the
statement_positionrule.theamodhshetty
#6153
Avoid false positives from
unused_enumeratedwhen higher-order calls on.enumerated()use result members like?.offsetafter the closure.theamodhshetty
#5881
Add an
ignore_attributesoption toimplicit_optional_initializationsowrappers/attributes that require explicit
= nilcan be excluded fromstyle checks for both
style: alwaysandstyle: never.theamodhshetty
#3998
Skip
@TestStateproperties inquick_discouraged_callrule, matchingexisting
@TestInjectedand@TestWeaklyexclusions.William-Laverty
#5803
Fix
explicit_selffalse positives around string interpolation.jffmrk
SimplyDanny
#6611
Properly taint variables in tuples for
unneeded_escapingrule.SimplyDanny
#6621
Ensure that disable commands work for
redundant_nil_coalescingrule.SimplyDanny
#6465
Take
tryexpressions in call parameters into account even if the call hastrailing closures as well, so that an outer
throwsis not considered unneededin the
unneeded_throws_rethrowsrule.SimplyDanny
#6491
Ensure that disable commands work for
prefer_key_pathrule when the trailingclosure 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_selfrule.SimplyDanny
#6553
Respect existing environment variables when setting
BUILD_WORKSPACE_DIRECTORYin build tool plugins.
SimplyDanny
#6080
Fix false positives in
indentation_widthrule for continuation linesof multi-line
guard/if/whileconditions. A new optioninclude_multiline_conditions(default:false) skips these lines bydefault. When enabled, it validates that continuation lines are aligned
with the first condition after the keyword.
tanaev
#4961
multiline_call_argumentsno longer reports violations for enum-case patterns inpattern matching (e.g. if case, switch case, for case, catch).
GandaLF2006
Avoid false positives in
prefer_self_in_static_referenceswhen a nested typeshadows its enclosing type name.
theamodhshetty
#5917
Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.