Skip to content

Commit 9381d4d

Browse files
committed
Apply RuboCop linting for Ruby 2.4
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
1 parent 90797d1 commit 9381d4d

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.rubocop.yml

Lines changed: 3 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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)