mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-23 17:33:56 +03:00
Some work on ruby linting
This commit is contained in:
parent
5ebb05affd
commit
c897128bc6
@ -66,7 +66,7 @@ Style/EmptyElse:
|
||||
|
||||
# use for instead of each
|
||||
Style/For:
|
||||
EnforcedStyle: for
|
||||
EnforcedStyle: each
|
||||
|
||||
# it's mandatory to left a empty line before guard clause
|
||||
Style/EmptyLineAfterGuardClause:
|
||||
@ -82,7 +82,7 @@ Style/IfInsideElse:
|
||||
|
||||
# one line if/unless conditions
|
||||
Style/IfUnlessModifier:
|
||||
Enabled: true
|
||||
Enabled: false
|
||||
|
||||
# Mandatory use of Parentheses in method calls
|
||||
Style/MethodCallWithArgsParentheses:
|
||||
@ -157,7 +157,7 @@ Lint/ShadowingOuterLocalVariable:
|
||||
|
||||
# Line Length config:
|
||||
Metrics/LineLength:
|
||||
Max: 100
|
||||
Max: 80
|
||||
|
||||
# Parameter list config:
|
||||
Metrics/ParameterLists:
|
||||
|
Loading…
Reference in New Issue
Block a user