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
Which Xcode version are you using (check xcodebuild -version)?
Xcode 14.0
Build version 14A309
Do you have a sample that shows the issue? Run echo "let test1 = func1(arg: { /* do nothing */ })" | 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 triggers a violation:
lettest1=func1(arg:{ /* do nothing */ })lettest2=func1{ /* do nothing */ }
The text was updated successfully, but these errors were encountered:
New Issue Checklist
Describe the bug
closure_spacing is fired when closure contains only comment
Complete output when running SwiftLint, including the stack trace and command used
warning: Closure Spacing Violation: Closure expressions should have a single space inside each brace. (closure_spacing)
Environment
swiftlint version
to be sure)? 0.50.0no
xcodebuild -version
)?Xcode 14.0
Build version 14A309
echo "let test1 = func1(arg: { /* do nothing */ })" | 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: