Skip to content

Commit ac9c480

Browse files
authored
Merge pull request #135 from github/enable-lint-parentheses-as-grouped-expression
config/default: Enable `Lint/ParenthesesAsGroupedExpression`
2 parents 7c4a43c + a1e1259 commit ac9c480

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

config/default.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,9 @@ Lint/OutOfRangeRegexpRef:
561561
Enabled: false
562562

563563
Lint/ParenthesesAsGroupedExpression:
564-
Enabled: false
564+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#no-spaces-method-parens
565+
Exclude:
566+
- "**/*.erb"
565567

566568
Lint/PercentStringArray:
567569
Enabled: false

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy