False-positive for empty_enum_arguments
rule
#3562
Labels
bug
Unexpected and reproducible misbehavior.
empty_enum_arguments
rule
#3562
New Issue Checklist
Describe the bug
The
empty_enum_arguments
rule matches inif
statements when using dot notation on a function without parameters.Complete output when running SwiftLint, including the stack trace and command used
Environment
swiftlint version
to be sure)?0.43.0
CocoaPods
xcodebuild -version
)?12.4
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: