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

Fix up a few more rubocop offenses #419

Merged
merged 1 commit into from
Apr 26, 2019
Merged

Conversation

luke-hill
Copy link
Contributor

Summary

Fixed up some more rubocop offenses

Details

Fixed up LineLength cops (mainly), and a couple of other groups

I've also fixed some bugs in the rubocop config (As we were testing some of the tmp files, now we don't test anything that's generated into tmp/ I've also added a new rule ignore for all spec block sizes (As most of them are likely to break the 25line limit)

How Has This Been Tested?

bundle exec rubocop

Types of changes

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to not work as expected).

Checklist:

  • I've added tests for my code.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@luke-hill luke-hill requested review from mvz and xtrasimplicity April 26, 2019 09:11
@luke-hill luke-hill force-pushed the feature/tidy_up_cops branch from 621a586 to a2f44c0 Compare April 26, 2019 09:13
Copy link
Contributor

@mvz mvz left a comment

Choose a reason for hiding this comment

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

Nice cleanups!

Copy link
Contributor

@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.

This is super!

@@ -25,4 +25,5 @@ Style/RegexpLiteral:

BlockLength:
Exclude:
- './spec/**/*_spec.rb'
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@luke-hill luke-hill merged commit dc47325 into master Apr 26, 2019
@luke-hill luke-hill deleted the feature/tidy_up_cops branch April 26, 2019 10:00
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.

3 participants