From c897128bc64e5cfb47b17f30bc9ef9765a41fa46 Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Tue, 24 Jul 2018 13:04:45 +0200 Subject: [PATCH] Some work on ruby linting --- share/linters/.rubocop.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/linters/.rubocop.yml b/share/linters/.rubocop.yml index df43d7fef9..6d9837a727 100644 --- a/share/linters/.rubocop.yml +++ b/share/linters/.rubocop.yml @@ -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: