Skip to content

Commit

Permalink
Update rubocop for compatibility with Code Climate
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Rice authored and Adam Rice committed Jul 27, 2016
1 parent c865d22 commit 91aa88b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ Metrics/PerceivedComplexity:
Style/AccessModifierIndentation:
EnforcedStyle: outdent

Style/Alias:
Enabled: false

Style/CollectionMethods:
PreferredMethods:
map: 'collect'
Expand Down Expand Up @@ -76,7 +79,8 @@ Style/RaiseArgs:
Style/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space

Style/TrailingComma:
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: 'comma'


Style/TrailingCommaInLiteral:
EnforcedStyleForMultiline: 'comma'
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ group :test do
gem 'pundit'
gem 'rack-cache', require: 'rack/cache'
gem 'rspec-rails', '>= 2.14'
gem 'rubocop', '~> 0.31.0'
gem 'rubocop', '~> 0.41.2'
gem 'simplecov', '>= 0.9', require: false
gem 'timecop', '>= 0.5'

Expand Down

0 comments on commit 91aa88b

Please sign in to comment.