From 6adb601232192755fa5d463465f263a8633bf053 Mon Sep 17 00:00:00 2001 From: Frank Taillandier Date: Wed, 19 Feb 2020 07:48:26 +0100 Subject: [PATCH] chore(deps): rubocop 0.80.0 (#8012) Merge pull request 8012 --- .rubocop.yml | 8 ++++++-- .rubocop_todo.yml | 5 +++-- Gemfile | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 9abec574..b49da571 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -110,8 +110,6 @@ Style/Alias: EnforcedStyle: prefer_alias_method Style/AndOr: Severity: error -Style/BracesAroundHashParameters: - Enabled: false Style/ClassAndModuleChildren: Exclude: - test/**/*.rb @@ -127,9 +125,15 @@ Style/FormatStringToken: - lib/jekyll/liquid_renderer/table.rb Style/GuardClause: Enabled: false +Style/HashEachMethods: + Enabled: true Style/HashSyntax: EnforcedStyle: hash_rockets Severity: error +Style/HashTransformKeys: + Enabled: false +Style/HashTransformValues: + Enabled: true Style/MixinUsage: Exclude: - test/helper.rb diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 0ca6b710..6931bc99 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2019-10-16 00:55:37 -0500 using RuboCop version 0.75.1. +# on 2020-02-18 23:36:40 +0100 using RuboCop version 0.80.0. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new @@ -8,7 +8,8 @@ # Offense count: 4 # Cop supports --auto-correct. -# Configuration parameters: AllowForAlignment. +# Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator. +# SupportedStylesForExponentOperator: space, no_space Layout/SpaceAroundOperators: Exclude: - 'lib/jekyll/commands/build.rb' diff --git a/Gemfile b/Gemfile index ba239e20..3026f996 100644 --- a/Gemfile +++ b/Gemfile @@ -27,7 +27,7 @@ group :test do gem "nokogiri", "~> 1.7" gem "rspec" gem "rspec-mocks" - gem "rubocop", "~> 0.79.0" + gem "rubocop", "~> 0.80.0" gem "rubocop-performance" gem "test-dependency-theme", :path => File.expand_path("test/fixtures/test-dependency-theme", __dir__) gem "test-theme", :path => File.expand_path("test/fixtures/test-theme", __dir__)