We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have code like this:
if theta > π { value = twoPi - theta } else { value = theta }
I'm getting this warning:
Statement Position Violation: Else and catch must be on the same line and one space after previous declaration ()
There is no rule indicated in the parentheses, which seems to indicate that there's no way to turn this off. Is that correct?
The text was updated successfully, but these errors were encountered:
It can be turned off. That rule's identifier is statement_position. I'll look into why the identifier isn't being printed.
statement_position
Sorry, something went wrong.
All rules now print their identifiers in reports. Fixes #180.
5cb80cf
No branches or pull requests
I have code like this:
I'm getting this warning:
There is no rule indicated in the parentheses, which seems to indicate that there's no way to turn this off. Is that correct?
The text was updated successfully, but these errors were encountered: