Skip to content

Commit 77b16c1

Browse files
authored
Merge pull request #475 from Shopify/revert-474-bump-2.11.1
Re-enable `Style/OperatorMethodCall`
2 parents ccb3aa7 + 0ca8f19 commit 77b16c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ Style/OpenStructUse:
663663
Enabled: true
664664

665665
Style/OperatorMethodCall:
666-
Enabled: false
666+
Enabled: true
667667

668668
Style/OptionalBooleanParameter:
669669
Enabled: false

test/fixtures/full_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3466,7 +3466,7 @@ Style/OpenStructUse:
34663466
Style/OperatorMethodCall:
34673467
Description: Checks for redundant dot before operator method call.
34683468
StyleGuide: "#operator-method-call"
3469-
Enabled: false
3469+
Enabled: true
34703470
VersionAdded: '1.37'
34713471
Style/OptionHash:
34723472
Description: Don't use option hashes when you can use keyword arguments.

0 commit comments

Comments
 (0)