Skip to content

Commit

Permalink
Auto-correct RuboCop offenses and re-gen todo
Browse files Browse the repository at this point in the history
The steps run were:

1. `rm .rubocop_todo.yml`
2. `bundle exec rubocop --auto-correct`
3. `bundle exec rubocop --auto-gen-config`

This change was made to get the Ruby code style to a more consistent
place and have RuboCop enforce offenses that were disabled due to the
.rubocop_todo.yml file.

This also updates RuboCop to ignore the vendor dir since those files
should not be style checked.
  • Loading branch information
Brett Chalupa committed May 12, 2016
1 parent e8f88c4 commit d42d5d6
Show file tree
Hide file tree
Showing 150 changed files with 590 additions and 1,096 deletions.
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ AllCops:
TargetRubyVersion: 2.2
Exclude:
- 'frontend/**/*'
- 'vendor/**/*'
Style/DoubleNegation:
Enabled: false
Style/StringLiterals:
Expand Down
Loading

0 comments on commit d42d5d6

Please sign in to comment.