Skip to content

Commit 1cb1d33

Browse files
authored
Merge pull request #424 from tnir/tnir/reenable-rubocop-with-ruby-2.4-compat
Update rubocop to work with Ruby 2.4 compatible
2 parents 90797d1 + 9381d4d commit 1cb1d33

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.rubocop.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
AllCops:
2-
TargetRubyVersion: 2.3
2+
TargetRubyVersion: 2.4
33
DisabledByDefault: true
4+
SuggestExtensions: false
45
Exclude:
56
- doc/**/*.rb
67
- rake.gemspec
@@ -26,7 +27,7 @@ Layout/LineLength:
2627
Layout/IndentationWidth:
2728
Enabled: true
2829

29-
Layout/Tab:
30+
Layout/IndentationStyle:
3031
Enabled: true
3132

3233
Layout/EmptyLines:

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ group :development do
66
gem "bundler"
77
gem "minitest"
88
gem "coveralls"
9-
gem "rubocop", "~> 0.81.0"
9+
gem "rubocop", "~> 1.12.1"
1010
end

0 commit comments

Comments
 (0)