Skip to content

Commit

Permalink
Bump rubocop to 0.82.0
Browse files Browse the repository at this point in the history
This is a breaking change.

In order to pass CI, I had to rename the Layout/Tab cop
to Layout/IndentationStyle.
  • Loading branch information
Katrina Owen committed Apr 24, 2020
1 parent efb00ac commit e82e9b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions config/_default_shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ Layout/EndAlignment:
Layout/EndOfLine:
Enabled: true

Layout/IndentationStyle:
Enabled: true
EnforcedStyle: spaces
IndentationWidth: 2

Layout/InitialIndentation:
Enabled: true

Expand Down Expand Up @@ -77,9 +82,6 @@ Layout/SpaceInsideRangeLiteral:
Layout/SpaceInsideReferenceBrackets:
Enabled: true

Layout/Tab:
Enabled: true

Layout/TrailingEmptyLines:
Enabled: true

Expand Down
2 changes: 1 addition & 1 deletion rubocop-github.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Gem::Specification.new do |s|

s.files = Dir["README.md", "STYLEGUIDE.md", "LICENSE", "config/*.yml", "lib/**/*.rb", "guides/*.md"]

s.add_dependency "rubocop", "<=0.81.0"
s.add_dependency "rubocop", "<=0.82.0"
s.add_dependency "rubocop-performance", "~> 1.0"
s.add_dependency "rubocop-rails", "~> 2.0"

Expand Down

0 comments on commit e82e9b2

Please sign in to comment.