Update rubocop gem to 0.87.1 (#8287)

Merge pull request 8287
This commit is contained in:
Alex Malaszkiewicz 2020-07-08 20:32:40 +02:00 committed by GitHub
parent bbde471f53
commit bdc67c4474
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -125,10 +125,14 @@ Security/YAMLLoad:
Style/AccessModifierDeclarations: Style/AccessModifierDeclarations:
Enabled: false Enabled: false
Style/AccessorGrouping:
Enabled: false
Style/Alias: Style/Alias:
EnforcedStyle: prefer_alias_method EnforcedStyle: prefer_alias_method
Style/AndOr: Style/AndOr:
Severity: error Severity: error
Style/BisectedAttrAccessor:
Enabled: true
Style/ClassAndModuleChildren: Style/ClassAndModuleChildren:
Exclude: Exclude:
- test/**/*.rb - test/**/*.rb
@ -172,6 +176,8 @@ Style/PercentLiteralDelimiters:
"%w": "()" "%w": "()"
"%W": "()" "%W": "()"
"%x": "()" "%x": "()"
Style/RedundantAssignment:
Enabled: true
Style/RedundantFetchBlock: Style/RedundantFetchBlock:
Enabled: false Enabled: false
Style/RedundantRegexpCharacterClass: Style/RedundantRegexpCharacterClass:

View File

@ -23,7 +23,7 @@ group :test do
gem "nokogiri", "~> 1.7" gem "nokogiri", "~> 1.7"
gem "rspec" gem "rspec"
gem "rspec-mocks" gem "rspec-mocks"
gem "rubocop", "~> 0.86.0" gem "rubocop", "~> 0.87.1"
gem "rubocop-performance" gem "rubocop-performance"
gem "test-dependency-theme", :path => File.expand_path("test/fixtures/test-dependency-theme", __dir__) 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__) gem "test-theme", :path => File.expand_path("test/fixtures/test-theme", __dir__)