Skip to content

Commit 922e588

Browse files
committed
Update rubocop
1 parent 9138cc1 commit 922e588

File tree

3 files changed

+22
-13
lines changed

3 files changed

+22
-13
lines changed

.rubocop.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
require:
22
- rubocop-performance
33

4-
inherit_from:
5-
- https://shopify.github.io/ruby-style-guide/rubocop-cli.yml
4+
inherit_gem:
5+
rubocop-shopify: rubocop.yml
66

77
AllCops:
88
Exclude:

Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ ruby '2.7.2'
99
group :development, :test do
1010
gem 'rubocop'
1111
gem 'rubocop-performance'
12+
gem "rubocop-shopify", require: false
1213
gem 'rake'
1314
end
1415

Gemfile.lock

+19-11
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ GEM
22
remote: https://rubygems.org/
33
specs:
44
ansi (1.5.0)
5-
ast (2.4.0)
5+
ast (2.4.2)
66
builder (3.2.3)
7-
jaro_winkler (1.5.4)
87
metaclass (0.0.4)
98
minitest (5.13.0)
109
minitest-reporters (1.4.2)
@@ -14,22 +13,30 @@ GEM
1413
ruby-progressbar
1514
mocha (1.9.0)
1615
metaclass (~> 0.0.1)
17-
parallel (1.18.0)
18-
parser (2.6.5.0)
19-
ast (~> 2.4.0)
16+
parallel (1.20.1)
17+
parser (3.0.0.0)
18+
ast (~> 2.4.1)
2019
rainbow (3.0.0)
2120
rake (13.0.0)
22-
rubocop (0.76.0)
23-
jaro_winkler (~> 1.5.1)
21+
regexp_parser (2.1.1)
22+
rexml (3.2.4)
23+
rubocop (1.11.0)
2424
parallel (~> 1.10)
25-
parser (>= 2.6)
25+
parser (>= 3.0.0.0)
2626
rainbow (>= 2.2.2, < 4.0)
27+
regexp_parser (>= 1.8, < 3.0)
28+
rexml
29+
rubocop-ast (>= 1.2.0, < 2.0)
2730
ruby-progressbar (~> 1.7)
28-
unicode-display_width (>= 1.4.0, < 1.7)
31+
unicode-display_width (>= 1.4.0, < 3.0)
32+
rubocop-ast (1.4.1)
33+
parser (>= 2.7.1.5)
2934
rubocop-performance (1.5.0)
3035
rubocop (>= 0.71.0)
31-
ruby-progressbar (1.10.1)
32-
unicode-display_width (1.6.0)
36+
rubocop-shopify (2.0.1)
37+
rubocop (~> 1.11)
38+
ruby-progressbar (1.11.0)
39+
unicode-display_width (2.0.0)
3340

3441
PLATFORMS
3542
ruby
@@ -41,6 +48,7 @@ DEPENDENCIES
4148
rake
4249
rubocop
4350
rubocop-performance
51+
rubocop-shopify
4452

4553
RUBY VERSION
4654
ruby 2.7.2p137

0 commit comments

Comments
 (0)