rubocop-shopify 2.9.0 → 2.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/rubocop.yml +12 -5
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e9421e44b59a1ecaaaad089fc20585b3e0ebb4098573fc2d4c6a191a56276295
4
- data.tar.gz: 83eac3987d5c8014fc917bd273af585420118669b308dbf97f86ecd45e613c3b
3
+ metadata.gz: 46f4e1d6da6a36a4429dac8cf1be8c25399eff8fc5342f63220fc5972cdb1967
4
+ data.tar.gz: b8e0d43da3be02a6ce82b5e3f0982e690f34e301fc26a2d0a47fb28739a61049
5
5
  SHA512:
6
- metadata.gz: 9e2c05e08cfac80b27607ac6ff87b5df8ddd8f0428cc3fba6421633a1bc94f6d81c3b23a65f3a7988811b26dc3cf503f060324628829893468d69835f4fbb787
7
- data.tar.gz: bd9567bb9feff7f8da173bda31c42aab68c004dfff01a8809030ef7bf5cc633768dcfcf1cb9d695dc97c448d40a192b01de44538a04b3f37d8d1cbe4c5e4e584
6
+ metadata.gz: df5a35e26c81bacc9d5f2b46795415d5be5e3b5af717ec70e960a192e5f8473f00e2dbc6383a1e40d824365f338756c33e5a981fa42fc16fc8dbf4b78bedc67d
7
+ data.tar.gz: 1a8609bb7ed4afc1cca98572e847534e1accd1c57e5a5c0d977e26ca6ad949a2fc35d34575a6c735fac76670e94bee8249193e0a53b5841632a6cecec02b4b93
data/rubocop.yml CHANGED
@@ -154,9 +154,6 @@ Lint/InterpolationCheck:
154
154
  Lint/LambdaWithoutLiteralBlock:
155
155
  Enabled: false
156
156
 
157
- Lint/MissingCopEnableDirective:
158
- Enabled: false
159
-
160
157
  Lint/MixedRegexpCaptureTypes:
161
158
  Enabled: false
162
159
 
@@ -208,6 +205,9 @@ Lint/RefinementImportMethods:
208
205
  Lint/RegexpAsCondition:
209
206
  Enabled: false
210
207
 
208
+ Lint/RequireRangeParentheses:
209
+ Enabled: true
210
+
211
211
  Lint/RequireRelativeSelfPath:
212
212
  Enabled: true
213
213
 
@@ -390,6 +390,7 @@ Style/BisectedAttrAccessor:
390
390
 
391
391
  Style/CaseEquality:
392
392
  AllowOnConstant: true
393
+ AllowOnSelfClass: true
393
394
 
394
395
  Style/CaseLikeIf:
395
396
  Enabled: false
@@ -433,6 +434,9 @@ Style/DoubleNegation:
433
434
  Style/EmptyBlockParameter:
434
435
  Enabled: false
435
436
 
437
+ Style/EmptyHeredoc:
438
+ Enabled: true
439
+
436
440
  Style/EmptyLambdaParameter:
437
441
  Enabled: false
438
442
 
@@ -523,6 +527,10 @@ Style/KeywordParametersOrder:
523
527
  Style/Lambda:
524
528
  Enabled: false
525
529
 
530
+ Style/MagicCommentFormat:
531
+ Enabled: true
532
+ ValueCapitalization: lowercase
533
+
526
534
  Style/MapCompactWithConditionalBlock:
527
535
  Enabled: false
528
536
 
@@ -701,7 +709,7 @@ Style/TrailingBodyOnMethodDefinition:
701
709
  Enabled: false
702
710
 
703
711
  Style/TrailingCommaInArguments:
704
- Enabled: false
712
+ EnforcedStyleForMultiline: consistent_comma
705
713
 
706
714
  Style/TrailingCommaInArrayLiteral:
707
715
  EnforcedStyleForMultiline: consistent_comma
@@ -727,4 +735,3 @@ Style/YodaCondition:
727
735
  Style/ClassMethodsDefinitions:
728
736
  EnforcedStyle: self_class
729
737
  Enabled: true
730
-
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-shopify
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.0
4
+ version: 2.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify Engineering
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-05 00:00:00.000000000 Z
11
+ date: 2022-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.33'
19
+ version: '1.35'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.33'
26
+ version: '1.35'
27
27
  description: Gem containing the rubocop.yml config that corresponds to the implementation
28
28
  of the Shopify's style guide for Ruby.
29
29
  email: gems@shopify.com
@@ -38,7 +38,7 @@ homepage: https://shopify.github.io/ruby-style-guide/
38
38
  licenses:
39
39
  - MIT
40
40
  metadata:
41
- source_code_uri: https://github.com/Shopify/ruby-style-guide/tree/v2.9.0
41
+ source_code_uri: https://github.com/Shopify/ruby-style-guide/tree/v2.10.0
42
42
  allowed_push_host: https://rubygems.org
43
43
  post_install_message:
44
44
  rdoc_options: []