Skip to content

Commit d5ba06b

Browse files
committed
Update RuboCop to 1.13
1 parent 06447da commit d5ba06b

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

Gemfile.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PATH
22
remote: .
33
specs:
44
rubocop-shopify (2.0.1)
5-
rubocop (~> 1.11)
5+
rubocop (~> 1.13)
66

77
GEM
88
remote: https://rubygems.org/
@@ -14,7 +14,7 @@ GEM
1414
method_source (1.0.0)
1515
minitest (5.14.4)
1616
parallel (1.20.1)
17-
parser (3.0.0.0)
17+
parser (3.0.1.0)
1818
ast (~> 2.4.1)
1919
pry (0.13.1)
2020
coderay (~> 1.1)
@@ -25,8 +25,8 @@ GEM
2525
rainbow (3.0.0)
2626
rake (13.0.3)
2727
regexp_parser (2.1.1)
28-
rexml (3.2.4)
29-
rubocop (1.12.1)
28+
rexml (3.2.5)
29+
rubocop (1.13.0)
3030
parallel (~> 1.10)
3131
parser (>= 3.0.0.0)
3232
rainbow (>= 2.2.2, < 4.0)
@@ -51,4 +51,4 @@ DEPENDENCIES
5151
rubocop-shopify!
5252

5353
BUNDLED WITH
54-
2.2.3
54+
2.2.15

rubocop-shopify.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ Gem::Specification.new do |s|
2121
"allowed_push_host" => "https://rubygems.org",
2222
}
2323

24-
s.add_dependency("rubocop", "~> 1.11")
24+
s.add_dependency("rubocop", "~> 1.13")
2525
end

test/fixtures/full_config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,12 @@ Layout/ParameterAlignment:
704704
- with_first_parameter
705705
- with_fixed_indentation
706706
IndentationWidth:
707+
Layout/RedundantLineBreak:
708+
Description: Do not break up an expression into multiple lines when it fits on a
709+
single line.
710+
Enabled: false
711+
InspectBlocks: false
712+
VersionAdded: '1.13'
707713
Layout/RescueEnsureAlignment:
708714
Description: Align rescues and ensures correctly.
709715
Enabled: true
@@ -928,6 +934,8 @@ Lint/AmbiguousBlockAssociation:
928934
StyleGuide: "#syntax"
929935
Enabled: false
930936
VersionAdded: '0.48'
937+
VersionChanged: '1.13'
938+
IgnoredMethods: []
931939
Lint/AmbiguousOperator:
932940
Description: Checks for ambiguous operators in the first argument of a method invocation
933941
without parentheses.

0 commit comments

Comments
 (0)