mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
Fix rubocop linter
(cherry picked from commit decd82006b9d331675b549e2fb86e944c68d5dc4)
This commit is contained in:
parent
4478f0dabb
commit
55c280f74e
@ -34,6 +34,11 @@ Layout/EmptyLinesAroundClassBody:
|
||||
|
||||
Layout/EmptyLinesAroundModuleBody:
|
||||
EnforcedStyle: empty_lines
|
||||
|
||||
# it's mandatory to left a empty line before guard clause
|
||||
Layout/EmptyLineAfterGuardClause:
|
||||
Enabled: true
|
||||
|
||||
###
|
||||
|
||||
#######
|
||||
@ -68,10 +73,6 @@ Style/EmptyElse:
|
||||
Style/For:
|
||||
EnforcedStyle: each
|
||||
|
||||
# it's mandatory to left a empty line before guard clause
|
||||
Style/EmptyLineAfterGuardClause:
|
||||
Enabled: true
|
||||
|
||||
# declare key, value pairs with =>
|
||||
Style/HashSyntax:
|
||||
EnforcedStyle: hash_rockets
|
||||
|
Loading…
x
Reference in New Issue
Block a user