Skip to content

Commit 61c9952

Browse files
Rubocop upgrafed to 0.80
1 parent 66e9458 commit 61c9952

File tree

3 files changed

+18
-12
lines changed

3 files changed

+18
-12
lines changed

.codeclimate.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ plugins:
1515
enabled: false
1616
config:
1717
file: .rubocop.yml
18-
channel: "rubocop-0-76" # need to keep this value the same as rubocop version
18+
channel: "rubocop-0-80" # need to keep this value the same as rubocop version
1919
# https://docs.codeclimate.com/v1.0/docs/rubocop#section-using-rubocop-s-newer-versions
2020
eslint:
2121
enabled: true

.rubocop.yml

+16-10
Original file line numberDiff line numberDiff line change
@@ -21,32 +21,32 @@ AllCops:
2121
Layout/MultilineOperationIndentation:
2222
EnforcedStyle: indented
2323

24-
AlignParameters:
24+
Layout/ParameterAlignment:
2525
Enabled: false
2626

27-
ClassLength:
27+
Metrics/ClassLength:
2828
CountComments: false
2929
Max: 150
3030

31-
ModuleLength:
31+
Metrics/ModuleLength:
3232
CountComments: false
3333
Max: 250
3434
Exclude:
3535
- '**/spec/**/*'
3636

37-
Documentation:
37+
Style/Documentation:
3838
Enabled: false
3939

40-
Metrics/LineLength:
40+
Layout/LineLength:
4141
Max: 150
4242
Exclude:
4343
- '**/spec/**/*'
4444

45-
MethodLength:
45+
Metrics/MethodLength:
4646
CountComments: false
4747
Max: 50
4848

49-
BlockLength:
49+
Metrics/BlockLength:
5050
CountComments: false
5151
Max: 50
5252
Exclude:
@@ -101,9 +101,6 @@ Style/IfUnlessModifier:
101101
Naming/VariableNumber:
102102
Enabled: false
103103

104-
Performance/RegexpMatch:
105-
Enabled: false
106-
107104
Style/RedundantPercentQ:
108105
Enabled: false
109106

@@ -126,6 +123,15 @@ Style/AndOr:
126123
Exclude:
127124
- '**/*controller.rb'
128125

126+
Style/HashEachMethods:
127+
Enabled: false
128+
129+
Style/HashTransformKeys:
130+
Enabled: false
131+
132+
Style/HashTransformValues:
133+
Enabled: false
134+
129135
RSpec/NestedGroups:
130136
Max: 7
131137

common_spree_dependencies.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
end
3737

3838
group :test, :development do
39-
gem 'rubocop', '~> 0.76.0', require: false # bumped
39+
gem 'rubocop', '~> 0.80.0', require: false # bumped
4040
gem 'rubocop-rspec', require: false
4141
gem 'pry-byebug'
4242
gem 'webdrivers', '~> 4.1'

0 commit comments

Comments
 (0)