Skip to content

Commit c025448

Browse files
authored
Merge pull request #186 from yahonda/bump_rubocop_to_the_latest
Bump RuboCop version to 0.81.0
2 parents 0a7edeb + f296d10 commit c025448

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

.rubocop.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@ AllCops:
99
Style/AndOr:
1010
Enabled: true
1111

12-
# Do not use braces for hash literals when they are the last argument of a
13-
# method call.
14-
Style/BracesAroundHashParameters:
15-
Enabled: true
16-
EnforcedStyle: context_dependent
17-
1812
# Align `when` with `case`.
1913
Layout/CaseIndentation:
2014
Enabled: true
@@ -45,7 +39,7 @@ Layout/EmptyLinesAroundMethodBody:
4539
Layout/EmptyLinesAroundModuleBody:
4640
Enabled: true
4741

48-
Layout/IndentFirstArgument:
42+
Layout/FirstArgumentIndentation:
4943
Enabled: true
5044

5145
# Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }.
@@ -122,7 +116,7 @@ Layout/Tab:
122116
Enabled: true
123117

124118
# Blank lines should not have any spaces.
125-
Layout/TrailingBlankLines:
119+
Layout/TrailingEmptyLines:
126120
Enabled: true
127121

128122
# No trailing whitespace.

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ source "http://rubygems.org"
33
group :development do
44
gem "juwelier", "~> 2.0"
55
gem "rspec_junit_formatter"
6-
gem "rubocop", require: false
6+
gem "rubocop", "0.81", require: false
77
gem "rubocop-performance", require: false
88
gem "rubocop-rails", require: false
99
end

0 commit comments

Comments
 (0)