-
Notifications
You must be signed in to change notification settings - Fork 402
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
Hound did not recognize my single line if statement as style problem #146
Comments
@Adam89, thanks for opening an issue. |
Yup, this is still an issue, just got this comment from @houndci:
That's definitely against our style guide. |
@gabebw, would you provide the code that Hound commented on? |
I'm not 100% sure (not my code, and a lot of commits since then), but I think this was it:
|
@gabebw, thanks. Those comments won't be created anymore. |
Can we close this PR now? |
@Adam89, not yet because we aren't checking for ternary expressions yet. I opened a pull request for RuboCop to add the check for us to use. |
@salbertson rubocop/rubocop#1059 was closed on Jun 12th. Maybe we could use the code from that PR as a custom cop that we either release as a gem, or just ship with Hound? |
@Koronen That PR was merged into RuboCop, but there's a flaw with that cop. We should submit a PR upstream fixing it. |
Looks like there has been no progress on this. To summarize the outcome of rubocop/rubocop#1059, the |
Closing for inactivity. |
Hound did not comment on my single line if statement and I believe that is a violation of the ruby style guide
mrageh/exercism#2
The text was updated successfully, but these errors were encountered: