Skip to content

Commit

Permalink
chore(deps): rubocop 0.80.0 (jekyll#8012)
Browse files Browse the repository at this point in the history
Merge pull request 8012
  • Loading branch information
DirtyF authored Feb 19, 2020
1 parent 99f91b5 commit 6adb601
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
8 changes: 6 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ Style/Alias:
EnforcedStyle: prefer_alias_method
Style/AndOr:
Severity: error
Style/BracesAroundHashParameters:
Enabled: false
Style/ClassAndModuleChildren:
Exclude:
- test/**/*.rb
Expand All @@ -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
Expand Down
5 changes: 3 additions & 2 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
# 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
# versions of RuboCop, may require this file to be generated again.

# 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'
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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__)
Expand Down

0 comments on commit 6adb601

Please sign in to comment.