chore(deps): update dependency swiftlint to v0.63.0 #102
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.62.2→0.63.0Release Notes
realm/SwiftLint (swiftlint)
v0.63.0Compare Source
Breaking
redundant_self_in_closurerule has been renamed toredundant_self(withredundant_self_in_closureas a deprecated alias) to reflect its now broader scope,while by default still maintains the previous behavior of only checking closures.
To enable checking for all redundant
selfusages, set the newonly_in_closuresoption to
false.SimplyDanny
Experimental
Enhancements
Extend
redundant_self_in_closurerule to detect all redundant uses ofself,not just in closures. Initializers (which commonly prefer an explicit
selfprefix)can be ignored by setting
keep_in_initializerstotrue.SimplyDanny
Add a
separationconfiguration option to thevertical_whitespace_between_casesruleto allow customizing blank line separation between switch cases. The default value is
always(require at least one blank line). Setting it toneverenforces no blanklines between cases.
SimplyDanny
#6326
Rewrite the following rules with SwiftSyntax:
vertical_whitespace_between_casesSimplyDanny
Add new opt-in
unneeded_throws_rethrowsrule that triggers when declarationsmarked
throws/rethrowsnever actually throw or call any throwing code.Tony Ngo
Add new
unneeded_escapingrule that detects closure parameters marked with@escapingthat are never stored or captured escapingly.SimplyDanny
Add
multiline_call_argumentsopt-in rule to enforce consistent multilineformatting for function and method call arguments.
GandaLF2006
Improve performance when exclude patterns resolve to a large set of files.
SimplyDanny
#5018
#5207
#5953
#6084
#6259
Bug Fixes
Fix
line_lengthrule incorrectly ignoring function bodies whenignores_function_declarationsis enabled. The option should only ignorefunction declarations, not their implementation.
SimplyDanny
#6347
Fix false positives in
vertical_whitespace_between_casesrule when cases areinterleaved with compiler directives like
#if/#else/#endif.SimplyDanny
#6332
override_in_extensionno longer triggers inside@objc @​implementationextensions.JaredGrubb
Reinstate handling of access level imports in
sorted_importsrule.Brett-Best
#6374
Configuration
📅 Schedule: 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.
This PR was generated by Mend Renovate. View the repository job log.