bump(swiftlint): update to v0.58.0 #8537
Open
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.57.1
->0.58.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
realm/SwiftLint (swiftlint)
v0.58.0
Compare Source
Breaking
The command plugin now requires write permissions so that it works with the
--fix
option without an error.SimplyDanny
The artifact bundle name has changed.
SwiftLintBinary-macos.artifactbundle.zip
is now calledSwiftLintBinary.artifactbundle.zip
. It now includes an AMD64 Linux binary.Bradley Mackey
#5514
The
inert_defer
andunused_capture_list
rules have completely been removed after being deprecated for 2 years.SimplyDanny
SwiftLint now requires a Swift 5.10 or higher compiler to build. The Swift Package Manager plugins continue to work with Swift 5.9.
SimplyDanny
The
private_unit_test
rule's deprecatedregex
configuration option has been removed after 2 years.Martin Redington
#5912
Experimental
Enhancements
Add Xcode command plugin allowing to run SwiftLint from within Xcode.
SimplyDanny
Add new
async_without_await
opt-in rule that checks if anasync
declaration contains at least oneawait
.Jan Kolarik
#5082
Support replacing identity expressions with
\.self
inprefer_key_path
rule from Swift 6 on.SimplyDanny
Support linting only provided file paths with command plugins.
DanSkeel
Add new category for
@IBSegueAction
totype_contents_order
rule.dk-talks
SimplyDanny
Add option to disable
redundant_discardable_let
rule in SwiftUI view bodies.SimplyDanny
#3855
Add new
redundant_sendable
rule that triggers onSendable
conformances oftypes that are implicitly already
Sendable
due to being actor-isolated. Itis enabled by default.
SimplyDanny
Improve performance when exclude patterns resolve to a large set of files.
SimplyDanny
#5018
Bug Fixes
Ignore TipKit's
#Rule
macro inempty_count
rule.Ueeek
#5883
Ignore super calls with trailing closures in
unneeded_override
rule.SimplyDanny
#5886
If violations are detected by
lint
oranalyze
, still perform an updatecheck for new versions of SwiftLint if requested.
Martin Redington
#5904
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.