Skip to content

Commit

Permalink
Merge pull request #227 from github/ParenthesesAsGroupedExpression-link
Browse files Browse the repository at this point in the history
Fix link to ParenthesesAsGroupedExpression
  • Loading branch information
sampart authored Jan 8, 2025
2 parents bc3ebe7 + 5c532e1 commit 5db0a50
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 @@ -678,7 +678,7 @@ end

* Never put a space between a method name and the opening parenthesis.
<a name="no-spaces-method-parens"></a><sup>[[link](#no-spaces-method-parens)]</sup>
* <a href="https://docs.rubocop.org/rubocop/cops_style.html#styleparenthesesasgroupedexpression">RuboCop rule: Style/ParenthesesAsGroupedExpression</a>
* <a href="https://docs.rubocop.org/rubocop/cops_lint.html#lintparenthesesasgroupedexpression">RuboCop rule: Lint/ParenthesesAsGroupedExpression</a>

``` ruby
# bad
Expand Down

0 comments on commit 5db0a50

Please sign in to comment.