Skip to content

Commit

Permalink
Merge pull request #314 from Shopify/explicit-block-argument
Browse files Browse the repository at this point in the history
Enable `Style/ExplicitBlockArgument` cop
  • Loading branch information
casperisfine committed Sep 7, 2021
2 parents 3db8341 + 61a6451 commit 8ec06a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ Style/ExpandPathArguments:
Enabled: false

Style/ExplicitBlockArgument:
Enabled: false
Enabled: true

Style/ExponentialNotation:
Enabled: false
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/full_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2502,7 +2502,7 @@ Style/ExplicitBlockArgument:
Description: Consider using explicit block argument to avoid writing block literal
that just passes its arguments to another block.
StyleGuide: "#block-argument"
Enabled: false
Enabled: true
VersionAdded: '0.89'
VersionChanged: '1.8'
Style/ExponentialNotation:
Expand Down

0 comments on commit 8ec06a4

Please sign in to comment.