redundant_self_in_closure
rule can behave unexpectedly with withAnimation(_:_:)
#4988
Closed
2 tasks done
Labels
New Issue Checklist
Describe the bug
self
and we have an error like ↓Complete output when running SwiftLint, including the stack trace and command used
Environment
swiftlint version
to be sure)?: 0.52.0If so, paste their relative paths and respective contents.
xcodebuild -version
)?: Xcode 14.3echo "[string here]" | swiftlint lint --no-cache --use-stdin --enable-all-rules
to quickly test if your example is really demonstrating the issue. If your example is more
complex, you can use
swiftlint lint --path [file here] --no-cache --enable-all-rules
.The text was updated successfully, but these errors were encountered: