Skip to content

Commit 2459781

Browse files
committed
Naming/BinaryOperatorParameterName
This commit disables the Rubocop Naming/BinaryOperatorParameterName cop, as its violations are too far-reaching in our codebase to safely and easily fix.
1 parent fbbcc32 commit 2459781

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.rubocop.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ Metrics/ParameterLists:
5555
Metrics/PerceivedComplexity:
5656
Enabled: false
5757

58+
Naming/BinaryOperatorParameterName:
59+
Enabled: false
60+
5861
Naming/ClassAndModuleCamelCase:
5962
Exclude:
6063
- 'lib/puppet/ffi/windows/structs.rb'

.rubocop_todo.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -646,10 +646,6 @@ Lint/UnusedMethodArgument:
646646
Naming/AccessorMethodName:
647647
Enabled: false
648648

649-
# This cop supports safe auto-correction (--auto-correct).
650-
Naming/BinaryOperatorParameterName:
651-
Enabled: false
652-
653649
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
654650
Naming/BlockParameterName:
655651
Exclude:

0 commit comments

Comments
 (0)