Skip to content

Commit

Permalink
Disable Lint/AmbiguousBlockAssociation for specs
Browse files Browse the repository at this point in the history
Lint/AmbiguousBlockAssociation: Parenthesize the param change { ... } to
make sure that the block will be associated with the change method call.

rubocop/rubocop#4222
  • Loading branch information
scmx committed Mar 27, 2018
1 parent 067280e commit d5a0ebb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ruby/rubocop.yml
Expand Up @@ -22,6 +22,10 @@ Layout/IndentHash:
Layout/SpaceAroundEqualsInParameterDefault:
EnforcedStyle: no_space

Lint/AmbiguousBlockAssociation:
Exclude:
- "spec/**/*"

Metrics/LineLength:
Exclude:
- "config/**/*"
Expand Down

0 comments on commit d5a0ebb

Please sign in to comment.