File tree Expand file tree Collapse file tree 4 files changed +10
-7
lines changed Expand file tree Collapse file tree 4 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 2
2
remote: .
3
3
specs:
4
4
rubocop-shopify (2.12.0 )
5
- rubocop (~> 1.49 )
5
+ rubocop (~> 1.50 )
6
6
7
7
GEM
8
8
remote: https://rubygems.org/
27
27
rake (13.0.6 )
28
28
regexp_parser (2.7.0 )
29
29
rexml (3.2.5 )
30
- rubocop (1.49 .0 )
30
+ rubocop (1.50 .0 )
31
31
json (~> 2.3 )
32
32
parallel (~> 1.10 )
33
33
parser (>= 3.2.0.0 )
Original file line number Diff line number Diff line change @@ -23,5 +23,5 @@ Gem::Specification.new do |s|
23
23
24
24
s . required_ruby_version = ">= 2.7.0"
25
25
26
- s . add_dependency ( "rubocop" , "~> 1.49 " )
26
+ s . add_dependency ( "rubocop" , "~> 1.50 " )
27
27
end
Original file line number Diff line number Diff line change @@ -131,6 +131,9 @@ Lint/DuplicateElsifCondition:
131
131
Lint/DuplicateMagicComment :
132
132
Enabled : true
133
133
134
+ Lint/DuplicateMatchPattern :
135
+ Enabled : true
136
+
134
137
Lint/DuplicateRegexpCharacterClassElement :
135
138
Enabled : false
136
139
Original file line number Diff line number Diff line change @@ -682,8 +682,6 @@ Layout/LineContinuationLeadingSpace:
682
682
Layout/LineContinuationSpacing :
683
683
Description : Checks the spacing in front of backslash in line continuations.
684
684
Enabled : false
685
- AutoCorrect : true
686
- SafeAutoCorrect : true
687
685
VersionAdded : ' 1.31'
688
686
EnforcedStyle : space
689
687
SupportedStyles :
@@ -1245,6 +1243,10 @@ Lint/DuplicateMagicComment:
1245
1243
Description : Check for duplicated magic comments.
1246
1244
Enabled : true
1247
1245
VersionAdded : ' 1.37'
1246
+ Lint/DuplicateMatchPattern :
1247
+ Description : Do not repeat patterns in `in` keywords.
1248
+ Enabled : true
1249
+ VersionAdded : ' 1.50'
1248
1250
Lint/DuplicateMethods :
1249
1251
Description : Check for duplicate method definitions.
1250
1252
Enabled : true
@@ -2785,7 +2787,6 @@ Style/FileEmpty:
2785
2787
is empty.
2786
2788
Enabled : true
2787
2789
Safe : false
2788
- SafeAutoCorrect : false
2789
2790
VersionAdded : ' 1.48'
2790
2791
Style/FileRead :
2791
2792
Description : Favor `File.(bin)read` convenience methods.
@@ -3434,7 +3435,6 @@ Style/NumericPredicate:
3434
3435
comparisons.
3435
3436
StyleGuide : " #predicate-methods"
3436
3437
Safe : false
3437
- SafeAutoCorrect : false
3438
3438
Enabled : false
3439
3439
VersionAdded : ' 0.42'
3440
3440
VersionChanged : ' 0.59'
You can’t perform that action at this time.
0 commit comments