empty_enum_arguments not triggering for if case
#3103
Labels
enhancement
Ideas for improvements of existing features and rules.
if case
#3103
New Issue Checklist
Describe the bug
This is not causing a violation, but it should:
If you write it out in a switch, it will trigger a violation:
Environment
SwiftLint version: 0.38.2
Installation method used: homebrew
Paste your configuration file:
Default configuration
Are you using nested configurations: No
Which Xcode version are you using (check
xcodebuild -version
): 11.3.1Do you have a sample that shows the issue: Check above
The text was updated successfully, but these errors were encountered: