Skip to content

Commit

Permalink
Merge pull request #424 from tnir/tnir/reenable-rubocop-with-ruby-2.4…
Browse files Browse the repository at this point in the history
…-compat

Update rubocop to work with Ruby 2.4 compatible
  • Loading branch information
hsbt authored May 10, 2022
2 parents 90797d1 + 9381d4d commit 1cb1d33
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
AllCops:
TargetRubyVersion: 2.3
TargetRubyVersion: 2.4
DisabledByDefault: true
SuggestExtensions: false
Exclude:
- doc/**/*.rb
- rake.gemspec
Expand All @@ -26,7 +27,7 @@ Layout/LineLength:
Layout/IndentationWidth:
Enabled: true

Layout/Tab:
Layout/IndentationStyle:
Enabled: true

Layout/EmptyLines:
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ group :development do
gem "bundler"
gem "minitest"
gem "coveralls"
gem "rubocop", "~> 0.81.0"
gem "rubocop", "~> 1.12.1"
end

0 comments on commit 1cb1d33

Please sign in to comment.