Bump RuboCop to v0.82.x

This commit is contained in:
Ashwin Maroli 2020-04-16 19:40:10 +05:30
parent 38157eb9b3
commit 00013c3303
2 changed files with 5 additions and 1 deletions

View File

@ -40,6 +40,8 @@ Layout/EmptyComment:
Enabled: false Enabled: false
Layout/EndAlignment: Layout/EndAlignment:
Severity: error Severity: error
Layout/SpaceAroundMethodCallOperator:
Enabled: true
Lint/RaiseException: Lint/RaiseException:
Enabled: true Enabled: true
Lint/StructNewOverride: Lint/StructNewOverride:
@ -123,6 +125,8 @@ Style/Documentation:
Enabled: false Enabled: false
Style/DoubleNegation: Style/DoubleNegation:
Enabled: false Enabled: false
Style/ExponentialNotation:
Enabled: true
Style/FormatStringToken: Style/FormatStringToken:
Exclude: Exclude:
- lib/jekyll/utils/ansi.rb - lib/jekyll/utils/ansi.rb

View File

@ -27,7 +27,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.81.0" gem "rubocop", "~> 0.82.0"
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__)