rubyforgood / share_christmas

Share Your Holiday Application
4 stars 3 forks source link

Rubocop Cleanup #108

Closed AEgan closed 8 years ago

AEgan commented 8 years ago

I used rubocop (version 0.41.2, some minor version bumps change default rules) to clean up the code a bit.

I don't feel too strongly about any specific cop, but I think consistency across the code base is biggest win rubocop provides.

This uses the default cops with two exceptions:

The first commit on this PR includes the majority of the work. those changes were generated with rubocop --autocorrect. This fixes a lot of style warnings for you. the 65 changed files may put you off to reviewing, so I'd recommend looking at this commit by commit, without concentrating on autocorrected fixes.