Skip to content

Commit

Permalink
Merge pull request #134 from github/fix-mislinked-cop
Browse files Browse the repository at this point in the history
STYLEGUIDE: `UnusedBlockArgument` is in `Lint` not `Style`
  • Loading branch information
issyl0 authored Oct 27, 2022
2 parents 8fe135a + 90a607f commit e8e89e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion STYLEGUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ enabled = true if enabled.nil?
* Use `_` for unused block parameters.
<a name="underscore-unused-vars"></a><sup>[[link](#underscore-unused-vars)]</sup>
* <a href="https://docs.rubocop.org/rubocop/cops_style.html#styleunusedblockargument">RuboCop rule: Style/UnusedBlockArgument</a>
* <a href="https://docs.rubocop.org/rubocop/cops_lint.html#lintunusedblockargument">RuboCop rule: Lint/UnusedBlockArgument</a>
``` ruby
# bad
Expand Down

0 comments on commit e8e89e0

Please sign in to comment.