Skip to content
Permalink
Browse files
Convert commands to accept keyword arguments rather than option hashes.
This both help catching typos, and reduce needless allocations.
  • Loading branch information
byroot committed Jun 9, 2020
1 parent 8669555 commit 1e5d0a1
Show file tree
Hide file tree
Showing 4 changed files with 185 additions and 217 deletions.
@@ -21,6 +21,9 @@ Lint/AssignmentInCondition:
Lint/UnifiedInteger:
Enabled: false

Lint/UnderscorePrefixedVariableName:
Enabled: false

Metrics/ClassLength:
Enabled: false

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

Naming/AccessorMethodName:
Exclude:
- lib/redis/connection/ruby.rb
- lib/redis/connection/ruby.rb

Naming/MethodParameterName:
Enabled: false

0 comments on commit 1e5d0a1

Please sign in to comment.