diff options
Diffstat (limited to '.rubocop.yml')
| -rw-r--r-- | .rubocop.yml | 23 |
1 files changed, 17 insertions, 6 deletions
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 |
