-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ControlStatementRule failing on acceptable use of parentheses #189
Comments
Agreed. PRs welcome if you'd like to address this "false positive". |
I also notice this issue for the following case where the cause is the same. if (isA || isB) && (isC || isD) {
// Do something...
} I'll try to find a way to fix it and make a PR. |
Great! Thanks for your help. |
mmorier
added a commit
to mmorier/SwiftLint
that referenced
this issue
Nov 11, 2015
…on variable name
mmorier
added a commit
to mmorier/SwiftLint
that referenced
this issue
Nov 11, 2015
…on variable name
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ControlStatementRule
is showing a warning on the following piece of code. I think this is an acceptable use of parens in anif
statement, and the rule should be updated to accept it.The text was updated successfully, but these errors were encountered: