rubocop-shopify 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/rubocop.yml +36 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a87e3f8343d9d32f0b7482426d6548970bdc589eef31d2abf4fd1228e6c4569
|
4
|
+
data.tar.gz: e96d3300f80f94f977d5e382302b7bc43d6969ac46a5b8586cc129c44c35476b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aabaf004d7948bc7b260dcf4b2c7afd1693071ee2561977cf9f7029aac44c723cf9cb94616b8b82c2ba3c9b753148224d2f5f9c9b6e7d6f74a9e039d184b7be5
|
7
|
+
data.tar.gz: 7f7a72011223f00573ef664417e63a4055ca1d713049016744fe1eb688d5a71435e25a9b2c8f1a1b074e7b56264b28bbc4a5c39fcd3d978aafd9ad28fb4218b1
|
data/rubocop.yml
CHANGED
@@ -81,6 +81,9 @@ Layout/HashAlignment:
|
|
81
81
|
Layout/LeadingEmptyLines:
|
82
82
|
Enabled: false
|
83
83
|
|
84
|
+
Layout/LineEndStringConcatenationIndentation:
|
85
|
+
Enabled: false
|
86
|
+
|
84
87
|
Layout/LineLength:
|
85
88
|
IgnoreCopDirectives: false
|
86
89
|
IgnoredPatterns:
|
@@ -156,6 +159,9 @@ Lint/EmptyExpression:
|
|
156
159
|
Lint/EmptyFile:
|
157
160
|
Enabled: false
|
158
161
|
|
162
|
+
Lint/EmptyInPattern:
|
163
|
+
Enabled: false
|
164
|
+
|
159
165
|
Lint/EmptyWhen:
|
160
166
|
Enabled: false
|
161
167
|
|
@@ -249,6 +255,9 @@ Lint/SendWithMixinArgument:
|
|
249
255
|
Lint/ShadowedArgument:
|
250
256
|
Enabled: false
|
251
257
|
|
258
|
+
Lint/ShadowingOuterLocalVariable:
|
259
|
+
Enabled: false
|
260
|
+
|
252
261
|
Lint/StructNewOverride:
|
253
262
|
Enabled: false
|
254
263
|
|
@@ -279,6 +288,9 @@ Lint/UnmodifiedReduceAccumulator:
|
|
279
288
|
Lint/UnreachableLoop:
|
280
289
|
Enabled: false
|
281
290
|
|
291
|
+
Lint/UnusedMethodArgument:
|
292
|
+
Enabled: false
|
293
|
+
|
282
294
|
Lint/UriEscapeUnescape:
|
283
295
|
Enabled: false
|
284
296
|
|
@@ -327,6 +339,19 @@ Naming/HeredocDelimiterCase:
|
|
327
339
|
Naming/HeredocDelimiterNaming:
|
328
340
|
Enabled: false
|
329
341
|
|
342
|
+
Naming/InclusiveLanguage:
|
343
|
+
Enabled: true
|
344
|
+
FlaggedTerms:
|
345
|
+
master:
|
346
|
+
Suggestions:
|
347
|
+
- main
|
348
|
+
- primary
|
349
|
+
- leader
|
350
|
+
AllowedRegex:
|
351
|
+
- !ruby/regexp '/master[_\s\.]key/' # Rails master key
|
352
|
+
- 'blob/master/'
|
353
|
+
- 'origin/master'
|
354
|
+
|
330
355
|
Naming/MemoizedInstanceVariableName:
|
331
356
|
Enabled: false
|
332
357
|
|
@@ -486,6 +511,9 @@ Style/IfUnlessModifier:
|
|
486
511
|
Style/IfWithBooleanLiteralBranches:
|
487
512
|
Enabled: false
|
488
513
|
|
514
|
+
Style/InPatternThen:
|
515
|
+
Enabled: true
|
516
|
+
|
489
517
|
Style/InverseMethods:
|
490
518
|
Enabled: false
|
491
519
|
|
@@ -525,6 +553,9 @@ Style/MultilineBlockChain:
|
|
525
553
|
Style/MultilineIfModifier:
|
526
554
|
Enabled: false
|
527
555
|
|
556
|
+
Style/MultilineInPatternThen:
|
557
|
+
Enabled: false
|
558
|
+
|
528
559
|
Style/MultilineWhenThen:
|
529
560
|
Enabled: false
|
530
561
|
|
@@ -561,6 +592,9 @@ Style/OrAssignment:
|
|
561
592
|
Style/PercentLiteralDelimiters:
|
562
593
|
Enabled: false
|
563
594
|
|
595
|
+
Style/QuotedSymbols:
|
596
|
+
Enabled: true
|
597
|
+
|
564
598
|
Style/RandomWithOffset:
|
565
599
|
Enabled: false
|
566
600
|
|
@@ -640,10 +674,10 @@ Style/TrailingCommaInArguments:
|
|
640
674
|
Enabled: false
|
641
675
|
|
642
676
|
Style/TrailingCommaInArrayLiteral:
|
643
|
-
EnforcedStyleForMultiline:
|
677
|
+
EnforcedStyleForMultiline: consistent_comma
|
644
678
|
|
645
679
|
Style/TrailingCommaInHashLiteral:
|
646
|
-
EnforcedStyleForMultiline:
|
680
|
+
EnforcedStyleForMultiline: consistent_comma
|
647
681
|
|
648
682
|
Style/TrailingMethodEndStatement:
|
649
683
|
Enabled: false
|
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.
|
4
|
+
version: 2.2.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: 2021-
|
11
|
+
date: 2021-07-13 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.
|
19
|
+
version: '1.18'
|
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.
|
26
|
+
version: '1.18'
|
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
|
@@ -37,7 +37,7 @@ homepage: https://shopify.github.io/ruby-style-guide/
|
|
37
37
|
licenses:
|
38
38
|
- MIT
|
39
39
|
metadata:
|
40
|
-
source_code_uri: https://github.com/Shopify/ruby-style-guide/tree/v2.
|
40
|
+
source_code_uri: https://github.com/Shopify/ruby-style-guide/tree/v2.2.0
|
41
41
|
allowed_push_host: https://rubygems.org
|
42
42
|
post_install_message:
|
43
43
|
rdoc_options: []
|
@@ -54,7 +54,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: '0'
|
56
56
|
requirements: []
|
57
|
-
rubygems_version: 3.
|
57
|
+
rubygems_version: 3.2.20
|
58
58
|
signing_key:
|
59
59
|
specification_version: 4
|
60
60
|
summary: Shopify's style guide for Ruby.
|