Fix others additional lints
This commit is contained in:
parent
763f864dc9
commit
056fe5ec3f
18 changed files with 33 additions and 34 deletions
21
.rubocop.yml
21
.rubocop.yml
|
|
@ -55,28 +55,25 @@ Lint/Loop:
|
|||
Lint/ParenthesesAsGroupedExpression:
|
||||
Enabled: true
|
||||
|
||||
# Offense count: 13
|
||||
# Cop supports --auto-correct.
|
||||
# Do not rescue Exceptions class itself
|
||||
Lint/RescueException:
|
||||
Enabled: true
|
||||
|
||||
# Offense count: 1
|
||||
# do not shadow local variables in blocks, choose other name
|
||||
Lint/ShadowingOuterLocalVariable:
|
||||
Enabled: false
|
||||
Enabled: true
|
||||
|
||||
# Offense count: 5
|
||||
# Cop supports --auto-correct.
|
||||
# use _ or variable_name to explicitly mark variable as unused
|
||||
Lint/UnusedBlockArgument:
|
||||
Enabled: false
|
||||
Enabled: true
|
||||
|
||||
# Offense count: 2
|
||||
# Cop supports --auto-correct.
|
||||
# use _ or _argument_name to explicitly mark argument as unused
|
||||
Lint/UnusedMethodArgument:
|
||||
Enabled: false
|
||||
Enabled: true
|
||||
|
||||
# Offense count: 6
|
||||
# avoid useless assignment
|
||||
Lint/UselessAssignment:
|
||||
Enabled: false
|
||||
Enabled: true
|
||||
|
||||
# Offense count: 1
|
||||
Lint/Void:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue