From 8cb232b98edb339b70dcc4557c22227a73ecfea8 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Thu, 23 Apr 2020 11:53:22 +0000 Subject: [PATCH 1/2] Bump rubocop from 0.81.0 to 0.82.0 Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.81.0 to 0.82.0. - [Release notes](https://github.com/rubocop-hq/rubocop/releases) - [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.81.0...v0.82.0) Signed-off-by: dependabot-preview[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index a98fec4df..40ad625da 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -100,7 +100,7 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.9.0) rspec-support (3.9.2) - rubocop (0.81.0) + rubocop (0.82.0) jaro_winkler (~> 1.5.1) parallel (~> 1.10) parser (>= 2.7.0.1) From 0c2d30320956aad8aa22ca14a4df93fd18e23d0b Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Thu, 23 Apr 2020 13:56:22 +0200 Subject: [PATCH 2/2] chore: Enable RuboCop 0.82.0 cop definitions --- .rubocop.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index e4ace89b9..ba59c5209 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -12,9 +12,15 @@ AllCops: Layout/LineLength: Enabled: false +Layout/SpaceAroundMethodCallOperator: + Enabled: true + Performance/RegexpMatch: Enabled: false +Style/ExponentialNotation: + Enabled: true + # http://viget.com/extend/just-use-double-quoted-ruby-strings Style/StringLiterals: EnforcedStyle: double_quotes @@ -107,3 +113,4 @@ Style/HashTransformKeys: Style/HashTransformValues: Enabled: true +