rubocop-shopify 1.0.4 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/rubocop-cli.yml +3 -2
- data/rubocop.yml +17 -15
- metadata +7 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be3e129f5a2ebb07d18476b6f8b622011f519d73775b5c55de5e375d6a510c59
|
4
|
+
data.tar.gz: 162be140afcacce8bf28c4a977dedd7ac703caee956f9f5182d290d8f72ee4b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51546b3ad92ed0bfdd7cf631814a6abede8f2069eb101013b92e14a2f1a79562633764864562abd312ef4dde9bfbd2f2404d05f2e2cc9264f50933e7d0b13abc
|
7
|
+
data.tar.gz: 70821b65cef82dd4fc330db6cb2538b641212bb7e6888bfa6c858f030823245c486016069b10d622ee6bd9edb9c17feffed576efeb73ef018e691db4233e86f5
|
data/rubocop-cli.yml
CHANGED
data/rubocop.yml
CHANGED
@@ -20,6 +20,12 @@ Style/Alias:
|
|
20
20
|
- prefer_alias
|
21
21
|
- prefer_alias_method
|
22
22
|
|
23
|
+
Layout/ArgumentAlignment:
|
24
|
+
EnforcedStyle: with_fixed_indentation
|
25
|
+
SupportedStyles:
|
26
|
+
- with_first_argument
|
27
|
+
- with_fixed_indentation
|
28
|
+
|
23
29
|
Layout/HashAlignment:
|
24
30
|
EnforcedHashRocketStyle: key
|
25
31
|
EnforcedColonStyle: key
|
@@ -165,14 +171,6 @@ Naming/FileName:
|
|
165
171
|
Regex:
|
166
172
|
IgnoreExecutableScripts: true
|
167
173
|
|
168
|
-
Layout/FirstArgumentIndentation:
|
169
|
-
EnforcedStyle: consistent
|
170
|
-
SupportedStyles:
|
171
|
-
- consistent
|
172
|
-
- special_for_inner_method_call
|
173
|
-
- special_for_inner_method_call_in_parentheses
|
174
|
-
IndentationWidth:
|
175
|
-
|
176
174
|
Style/For:
|
177
175
|
EnforcedStyle: each
|
178
176
|
SupportedStyles:
|
@@ -195,6 +193,7 @@ Style/FrozenStringLiteralComment:
|
|
195
193
|
SupportedStyles:
|
196
194
|
- always
|
197
195
|
- never
|
196
|
+
SafeAutoCorrect: true
|
198
197
|
|
199
198
|
Style/GlobalVars:
|
200
199
|
AllowedVariables: []
|
@@ -264,7 +263,7 @@ Style/MethodCallWithArgsParentheses:
|
|
264
263
|
- raise
|
265
264
|
- puts
|
266
265
|
Exclude:
|
267
|
-
- Gemfile
|
266
|
+
- '**/Gemfile'
|
268
267
|
|
269
268
|
Style/MethodDefParentheses:
|
270
269
|
EnforcedStyle: require_parentheses
|
@@ -398,11 +397,14 @@ Style/StabbyLambdaParentheses:
|
|
398
397
|
- require_parentheses
|
399
398
|
- require_no_parentheses
|
400
399
|
|
400
|
+
Style/StringLiterals:
|
401
|
+
Enabled: true
|
402
|
+
EnforcedStyle: double_quotes
|
403
|
+
ConsistentQuotesInMultiline: false
|
404
|
+
|
401
405
|
Style/StringLiteralsInInterpolation:
|
402
|
-
|
403
|
-
|
404
|
-
- single_quotes
|
405
|
-
- double_quotes
|
406
|
+
Enabled: true
|
407
|
+
EnforcedStyle: double_quotes
|
406
408
|
|
407
409
|
Layout/SpaceAroundBlockParameters:
|
408
410
|
EnforcedStyleInsidePipes: no_space
|
@@ -675,7 +677,7 @@ Style/LineEndConcatenation:
|
|
675
677
|
Style/MethodCallWithoutArgsParentheses:
|
676
678
|
Enabled: true
|
677
679
|
|
678
|
-
|
680
|
+
Lint/MissingSuper:
|
679
681
|
Enabled: true
|
680
682
|
|
681
683
|
Style/MissingRespondToMissing:
|
@@ -965,7 +967,7 @@ Lint/UselessAccessModifier:
|
|
965
967
|
Lint/UselessAssignment:
|
966
968
|
Enabled: true
|
967
969
|
|
968
|
-
Lint/
|
970
|
+
Lint/BinaryOperatorWithIdenticalOperands:
|
969
971
|
Enabled: true
|
970
972
|
|
971
973
|
Lint/UselessElseWithoutRescue:
|
metadata
CHANGED
@@ -1,35 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-shopify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shopify Engineering
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
20
|
-
- - "<"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '0.87'
|
19
|
+
version: '1.11'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
|
-
- - "
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '0.85'
|
30
|
-
- - "<"
|
24
|
+
- - "~>"
|
31
25
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
26
|
+
version: '1.11'
|
33
27
|
description: Gem containing the rubocop.yml config that corresponds to the implementation
|
34
28
|
of the Shopify's style guide for Ruby.
|
35
29
|
email: gems@shopify.com
|
@@ -43,7 +37,7 @@ homepage: https://shopify.github.io/ruby-style-guide/
|
|
43
37
|
licenses:
|
44
38
|
- MIT
|
45
39
|
metadata:
|
46
|
-
source_code_uri: https://github.com/Shopify/ruby-style-guide/tree/
|
40
|
+
source_code_uri: https://github.com/Shopify/ruby-style-guide/tree/v2.0.1
|
47
41
|
allowed_push_host: https://rubygems.org
|
48
42
|
post_install_message:
|
49
43
|
rdoc_options: []
|