Skip to content

Commit 1e5d0a1

Browse files
committed
Convert commands to accept keyword arguments rather than option hashes.
This both help catching typos, and reduce needless allocations.
1 parent 8669555 commit 1e5d0a1

File tree

4 files changed

+185
-217
lines changed

4 files changed

+185
-217
lines changed

.rubocop.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ Lint/AssignmentInCondition:
2121
Lint/UnifiedInteger:
2222
Enabled: false
2323

24+
Lint/UnderscorePrefixedVariableName:
25+
Enabled: false
26+
2427
Metrics/ClassLength:
2528
Enabled: false
2629

@@ -111,4 +114,7 @@ Naming/RescuedExceptionsVariableName:
111114

112115
Naming/AccessorMethodName:
113116
Exclude:
114-
- lib/redis/connection/ruby.rb
117+
- lib/redis/connection/ruby.rb
118+
119+
Naming/MethodParameterName:
120+
Enabled: false

0 commit comments

Comments
 (0)