From e14c5f32a62e6dc6fb0d76ffe2bc85463ef40acd Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 23 Mar 2020 18:41:28 +0100 Subject: Updated gems and js packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This also required some changes on the rubocop config. Signed-off-by: Miquel Sabaté Solà --- .rubocop.yml | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to '.rubocop.yml') diff --git a/.rubocop.yml b/.rubocop.yml index edc5960..555eea7 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -13,10 +13,15 @@ AllCops: # This is a remnant of old SUSE-style alignment for hashes, The table format # looks more human readable. -Layout/AlignHash: +Layout/HashAlignment: EnforcedHashRocketStyle: table EnforcedColonStyle: table +# The default is just too small. A limit of 100 looks reasonable and many other +# projects (including inside of SUSE) are also using this value. +Layout/LineLength: + Max: 100 + # # Metrics # @@ -25,11 +30,6 @@ Layout/AlignHash: Metrics/AbcSize: Max: 30 -# The default is just too small. A limit of 100 looks reasonable and many other -# projects (including inside of SUSE) are also using this value. -Metrics/LineLength: - Max: 100 - Metrics/MethodLength: Max: 20 @@ -53,3 +53,14 @@ Style/StringLiteralsInInterpolation: Style/AsciiComments: Enabled: false + +## New stuff + +Style/HashEachMethods: + Enabled: true + +Style/HashTransformKeys: + Enabled: true + +Style/HashTransformValues: + Enabled: true -- cgit v1.2.3