let_var_whitespace rule is triggered when on one line before there is #warning statement #2544
Closed
2 tasks done
Labels
bug
Unexpected and reproducible misbehavior.
New Issue Checklist
Describe the bug
let_var_whitespace rule is triggered when on one line before there is #warning statement
Variable Declaration Whitespace Violation: Let and var should be separated from other statements by a blank line. (let_var_whitespace)
Environment
swiftlint version
to be sure)?0.29.2
SwiftLint.pkg
If so, paste their relative paths and respective contents.
No
xcode-select -p
)?Version 10.0 (10A255)
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: