mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
Some work on ruby linting
(cherry picked from commit c897128bc64e5cfb47b17f30bc9ef9765a41fa46)
This commit is contained in:
parent
faf3b763a8
commit
f170bd84e4
@ -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…
x
Reference in New Issue
Block a user