You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Complete output when running SwiftLint, including the stack trace and command used
$ swiftlint lint
Environment
SwiftLint version (run swiftlint version to be sure)?
0.39.1
Installation method used (Homebrew, CocoaPods, building from source, etc)?
Mint
Paste your configuration file:
# insert yaml contents here
Are you using nested configurations?
If so, paste their relative paths and respective contents.
Which Xcode version are you using (check xcodebuild -version)?
Do you have a sample that shows the issue? Run echo "[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.
This issue has been automatically marked as stale because it has not had any recent activity. Please comment to prevent this issue from being closed. Thank you for your contributions!
This issue has been automatically marked as stale because it has not had any recent activity. Please comment to prevent this issue from being closed. Thank you for your contributions!
New Issue Checklist
Describe the bug
Function Builder (since Swift 5.1) is recognized as closure, and often triggers
closure_body_length
violation.Function Builder is used in SwiftUI and usually over 20 lines (here is an official sample code), so it should be excluded.
Complete output when running SwiftLint, including the stack trace and command used
Environment
swiftlint version
to be sure)?0.39.1
Mint
# insert yaml contents here
If so, paste their relative paths and respective contents.
xcodebuild -version
)?echo "[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: