Skip to content

Commit

Permalink
Lint/AmbiguousBlockAssociation
Browse files Browse the repository at this point in the history
  • Loading branch information
xzile committed Feb 27, 2020
1 parent 82c59c8 commit 93eb40d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions rubocop.yml
Expand Up @@ -46,6 +46,13 @@ Layout/EmptyLinesAroundModuleBody:
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented

# This cop checks for ambiguous block association with method when param passed without parentheses
# However, the style of ambiguous block is standard in specs
# https://github.com/rubocop-hq/rubocop/issues/4222
Lint/AmbiguousBlockAssociation:
Exclude:
- "spec/**/*"

# Allows lengthy describes in specs
# https://github.com/rubocop-hq/rubocop/blob/master/manual/cops_metrics.md#metricsblocklength
Metrics/BlockLength:
Expand Down

0 comments on commit 93eb40d

Please sign in to comment.