Skip to content
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

chore: RuboCop lint Style/IfUnlessModifier #926

Merged
merged 5 commits into from Mar 4, 2019

Conversation

iMacTia
Copy link
Member

@iMacTia iMacTia commented Mar 4, 2019

Description

See #854 - RuboCop linting

Fixes:

  • Style/IfUnlessModifier

Additional Notes

This PR introduces new offences for Metrics/LineLength, but they'll be addressed when we take care of that rule

end
inner << " wrapped=#{@wrapped_exception.inspect}" if @wrapped_exception
inner << " response=#{@response.inspect}" if @response
inner << " #{super}" if inner.empty?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part turned out nice!

Copy link
Member

@olleolleolle olleolleolle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolve the conflict in the TODO file, see if you like any of the comments inline, then merge!

olleolleolle and others added 4 commits March 4, 2019 13:30
Co-Authored-By: iMacTia <iMacTia@users.noreply.github.com>
Co-Authored-By: iMacTia <iMacTia@users.noreply.github.com>
…ix/rubocop-if-unless-modifier

# Conflicts:
#	.rubocop_todo.yml
@olleolleolle olleolleolle merged commit ef40442 into master Mar 4, 2019
@olleolleolle olleolleolle deleted the fix/rubocop-if-unless-modifier branch March 4, 2019 13:49
@olleolleolle olleolleolle mentioned this pull request Mar 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants