Multiline property wrappers cause false positives for let_var_whitespace
#4801
Labels
bug
Unexpected and reproducible misbehavior.
let_var_whitespace
#4801
New Issue Checklist
Describe the bug
Given the following code,
let_var_whitespace
will fire at lines 4 and 8.This code is actually from LintOrAnalyzeArguments.swift
Complete output when running SwiftLint, including the stack trace and command used
Environment
swiftlint version
to be sure)? 0.50.3none
If so, paste their relative paths and respective contents.
no
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
.See above.
The text was updated successfully, but these errors were encountered: