|
@@ -1,6 +1,6 @@
|
|
|
# This configuration was generated by
|
|
|
# `rubocop --auto-gen-config`
|
|
|
-# on 2020-10-05 18:45:45 UTC using RuboCop version 0.92.0.
|
|
|
+# on 2020-10-05 19:12:07 UTC using RuboCop version 0.92.0.
|
|
|
# The point is for the user to remove these configuration records
|
|
|
# one by one as the offenses are removed from the code base.
|
|
|
# Note that changes in the inspected code, or installation of new
|
|
@@ -106,13 +106,6 @@ Layout/IndentationWidth:
|
|
|
Exclude:
|
|
|
- 'test/fulfillment_service_test.rb'
|
|
|
|
|
|
-# Offense count: 83
|
|
|
-# Cop supports --auto-correct.
|
|
|
-# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
|
|
-# URISchemes: http, https
|
|
|
-Layout/LineLength:
|
|
|
- Max: 320
|
|
|
-
|
|
|
# Offense count: 2
|
|
|
# Cop supports --auto-correct.
|
|
|
# Configuration parameters: EnforcedStyle.
|
|
@@ -145,14 +138,6 @@ Layout/SpaceAfterComma:
|
|
|
- 'test/recurring_application_charge_test.rb'
|
|
|
- 'test/session_test.rb'
|
|
|
|
|
|
-# Offense count: 1
|
|
|
-# Cop supports --auto-correct.
|
|
|
-# Configuration parameters: EnforcedStyle.
|
|
|
-# SupportedStyles: space, no_space
|
|
|
-Layout/SpaceAroundEqualsInParameterDefault:
|
|
|
- Exclude:
|
|
|
- - 'lib/shopify_api/limits.rb'
|
|
|
-
|
|
|
# Offense count: 9
|
|
|
# Cop supports --auto-correct.
|
|
|
# Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator.
|
|
@@ -165,14 +150,6 @@ Layout/SpaceAroundOperators:
|
|
|
- 'test/shop_test.rb'
|
|
|
- 'test/test_helper.rb'
|
|
|
|
|
|
-# Offense count: 7
|
|
|
-# Cop supports --auto-correct.
|
|
|
-# Configuration parameters: EnforcedStyleForEmptyBraces.
|
|
|
-# SupportedStyles: space, no_space
|
|
|
-# SupportedStylesForEmptyBraces: space, no_space
|
|
|
-Layout/SpaceBeforeBlockBraces:
|
|
|
- EnforcedStyle: space
|
|
|
-
|
|
|
# Offense count: 4
|
|
|
# Cop supports --auto-correct.
|
|
|
Layout/SpaceBeforeComma:
|
|
@@ -200,14 +177,6 @@ Layout/SpaceInsideBlockBraces:
|
|
|
- 'test/location_test.rb'
|
|
|
- 'test/shop_test.rb'
|
|
|
|
|
|
-# Offense count: 93
|
|
|
-# Cop supports --auto-correct.
|
|
|
-# Configuration parameters: EnforcedStyleForEmptyBraces.
|
|
|
-# SupportedStyles: space, no_space, compact
|
|
|
-# SupportedStylesForEmptyBraces: space, no_space
|
|
|
-Layout/SpaceInsideHashLiteralBraces:
|
|
|
- EnforcedStyle: space
|
|
|
-
|
|
|
# Offense count: 1
|
|
|
# Cop supports --auto-correct.
|
|
|
# Configuration parameters: EnforcedStyle.
|
|
@@ -227,14 +196,12 @@ Layout/TrailingEmptyLines:
|
|
|
- 'lib/shopify_api/resources/cart.rb'
|
|
|
- 'test/cart_test.rb'
|
|
|
|
|
|
-# Offense count: 8
|
|
|
+# Offense count: 5
|
|
|
# Cop supports --auto-correct.
|
|
|
# Configuration parameters: AllowInHeredoc.
|
|
|
Layout/TrailingWhitespace:
|
|
|
Exclude:
|
|
|
- - 'lib/shopify_api/resources/product.rb'
|
|
|
- 'lib/shopify_api/resources/variant.rb'
|
|
|
- - 'test/product_test.rb'
|
|
|
- 'test/storefront_access_token_test.rb'
|
|
|
- 'test/user_test.rb'
|
|
|
|
|
@@ -304,14 +271,6 @@ Style/PreferredHashMethods:
|
|
|
Exclude:
|
|
|
- 'test/test_helper.rb'
|
|
|
|
|
|
-# Offense count: 1
|
|
|
-# Cop supports --auto-correct.
|
|
|
-# Configuration parameters: EnforcedStyle.
|
|
|
-# SupportedStyles: compact, exploded
|
|
|
-Style/RaiseArgs:
|
|
|
- Exclude:
|
|
|
- - 'lib/shopify_api/pagination_link_headers.rb'
|
|
|
-
|
|
|
# Offense count: 1
|
|
|
# Cop supports --auto-correct.
|
|
|
Style/RedundantException:
|
|
@@ -324,13 +283,6 @@ Style/RedundantPercentQ:
|
|
|
Exclude:
|
|
|
- 'shopify_api.gemspec'
|
|
|
|
|
|
-# Offense count: 1
|
|
|
-# Cop supports --auto-correct.
|
|
|
-# Configuration parameters: AllowMultipleReturnValues.
|
|
|
-Style/RedundantReturn:
|
|
|
- Exclude:
|
|
|
- - 'lib/shopify_api/resources/base.rb'
|
|
|
-
|
|
|
# Offense count: 11
|
|
|
# Cop supports --auto-correct.
|
|
|
Style/RedundantSelf:
|
|
@@ -415,3 +367,10 @@ Style/TrailingCommaInHashLiteral:
|
|
|
Style/TrivialAccessors:
|
|
|
Exclude:
|
|
|
- 'lib/shopify_api/graphql.rb'
|
|
|
+
|
|
|
+# Offense count: 83
|
|
|
+# Cop supports --auto-correct.
|
|
|
+# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
|
|
+# URISchemes: http, https
|
|
|
+Layout/LineLength:
|
|
|
+ Max: 320
|