From e468c4b56ddabeb902e96b6d1e34107b468b8797 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Sat, 2 May 2020 10:35:46 -0700 Subject: [PATCH] Update rubocop requirement from = 0.81.0 to = 0.82.0 (#20) * Update rubocop requirement from = 0.81.0 to = 0.82.0 Updates the requirements on [rubocop](https://github.com/rubocop-hq/rubocop) to permit the latest version. - [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] * Enable cops added in 0.82 Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Matt Brictson --- .rubocop.yml | 6 ++++++ example.gemspec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.rubocop.yml b/.rubocop.yml index bd38ad0..6d28114 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -25,6 +25,9 @@ Layout/LineLength: Layout/SpaceAroundEqualsInParameterDefault: EnforcedStyle: no_space +Layout/SpaceAroundMethodCallOperator: + Enabled: true + Lint/RaiseException: Enabled: true @@ -74,6 +77,9 @@ Style/DoubleNegation: Style/EmptyMethod: Enabled: false +Style/ExponentialNotation: + Enabled: true + Style/FormatStringToken: Enabled: false diff --git a/example.gemspec b/example.gemspec index 9dfd93e..928c988 100644 --- a/example.gemspec +++ b/example.gemspec @@ -34,7 +34,7 @@ Gem::Specification.new do |spec| spec.add_development_dependency "minitest-ci", "~> 3.4" spec.add_development_dependency "minitest-reporters", "~> 1.3" spec.add_development_dependency "rake", "~> 13.0" - spec.add_development_dependency "rubocop", "0.81.0" + spec.add_development_dependency "rubocop", "0.82.0" spec.add_development_dependency "rubocop-minitest", "0.9.0" spec.add_development_dependency "rubocop-performance", "1.5.2" end