1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

L #-: Update rubocop conf file to 1.6.1

This commit is contained in:
Tino Vazquez 2020-12-17 15:26:26 +01:00
parent d944233ba8
commit c3eb9e73bc
No known key found for this signature in database
GPG Key ID: 14201E424D02047E

View File

@ -750,6 +750,27 @@ Style/SoleNestedConditional:
Style/StringConcatenation:
Enabled: false
Style/ArgumentsForwarding:
Enabled: true
Style/CollectionCompact:
Enabled: true
Style/DocumentDynamicEvalDefinition:
Enabled: true
Style/NegatedIfElseCondition:
Enabled: false
Style/NilLambda:
Enabled: true
Style/RedundantArgument:
Enabled: false
Style/SwapValues:
Enabled: true
######
# LINT
######
@ -855,6 +876,30 @@ Lint/UselessMethodDefinition:
Lint/UselessTimes:
Enabled: true
Lint/DuplicateBranch:
Enabled: false
Lint/DuplicateRegexpCharacterClassElement:
Enabled: true
Lint/EmptyBlock:
Enabled: false
Lint/EmptyClass:
Enabled: false
Lint/NoReturnInBeginEndBlocks:
Enabled: true
Lint/ToEnumArguments:
Enabled: true
Lint/UnexpectedBlockArity:
Enabled: false
Lint/UnmodifiedReduceAccumulator:
Enabled: true
#########
# METRICS
########