From 80ad69d6a6bed359266c20e16ad43510719d8b75 Mon Sep 17 00:00:00 2001 From: Matijs van Zuijlen Date: Fri, 17 Apr 2020 08:01:36 +0200 Subject: [PATCH] Enable new RuboCop cops --- .rubocop.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 0413f848b..3cae66c73 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -26,6 +26,22 @@ Style/FrozenStringLiteralComment: Layout/LineLength: Max: 94 +# Enable new cops from RuboCop 0.80, 0.81 and 0.82 +Layout/SpaceAroundMethodCallOperator: + Enabled: true +Lint/RaiseException: + Enabled: true +Lint/StructNewOverride: + Enabled: true +Style/ExponentialNotation: + Enabled: true +Style/HashEachMethods: + Enabled: true +Style/HashTransformKeys: + Enabled: true +Style/HashTransformValues: + Enabled: true + # We only permit it in this one area which is internal code testing. Never exposed to users Security/Eval: Exclude: