Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
update rubocop config
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario Manno committed Mar 10, 2016
1 parent fb23582 commit 423303f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ AllCops:
- 'bin/**/*'
- 'vendor/bundle/**/*'
- 'spec/support/**/*' # rspec support helpers have a strange api
RunRailsCops: true

Rails:
Enabled: true

# We don't care about method length, since we check method cyclomatic
# complexity.
Expand All @@ -19,7 +21,9 @@ Metrics/MethodLength:

# Trailing commas make for clearer diffs because the last line won't appear
# to have been changed, as it would if it lacked a comma and had one added.
Style/TrailingComma:
Style/TrailingCommaInLiteral:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: comma

# Cop supports --auto-correct.
Expand Down

0 comments on commit 423303f

Please sign in to comment.