.rubocop_todo.yml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. # This configuration was generated by
  2. # `rubocop --auto-gen-config`
  3. # on 2020-10-15 20:32:09 UTC using RuboCop version 0.93.1.
  4. # The point is for the user to remove these configuration records
  5. # one by one as the offenses are removed from the code base.
  6. # Note that changes in the inspected code, or installation of new
  7. # versions of RuboCop, may require this file to be generated again.
  8. # Offense count: 6
  9. # Configuration parameters: EnforcedStyle.
  10. # SupportedStyles: snake_case, camelCase
  11. Naming/VariableName:
  12. Exclude:
  13. - 'lib/shopify_api/resources/fulfillment.rb'
  14. # Offense count: 2
  15. # Cop supports --auto-correct.
  16. Style/ColonMethodCall:
  17. Exclude:
  18. - 'test/base_test.rb'
  19. # Offense count: 2
  20. # Cop supports --auto-correct.
  21. # Configuration parameters: EnforcedStyle, AllowInnerBackticks.
  22. # SupportedStyles: backticks, percent_x, mixed
  23. Style/CommandLiteral:
  24. Exclude:
  25. - 'shopify_api.gemspec'
  26. # Offense count: 1
  27. Style/MissingRespondToMissing:
  28. Exclude:
  29. - 'lib/shopify_api/resources/asset.rb'
  30. # Offense count: 5
  31. # Cop supports --auto-correct.
  32. Style/RedundantPercentQ:
  33. Exclude:
  34. - 'shopify_api.gemspec'
  35. # Offense count: 12
  36. # Cop supports --auto-correct.
  37. Style/RedundantSelf:
  38. Exclude:
  39. - 'lib/shopify_api/resources/base.rb'
  40. - 'lib/shopify_api/resources/custom_collection.rb'
  41. - 'lib/shopify_api/resources/customer.rb'
  42. - 'lib/shopify_api/resources/customer_saved_search.rb'
  43. - 'lib/shopify_api/resources/product.rb'
  44. - 'lib/shopify_api/resources/recurring_application_charge.rb'
  45. # Offense count: 1
  46. # Cop supports --auto-correct.
  47. # Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods.
  48. # AllowedMethods: present?, blank?, presence, try, try!
  49. Style/SafeNavigation:
  50. Exclude:
  51. - 'lib/shopify_api/resources/custom_collection.rb'
  52. # Offense count: 2
  53. # Cop supports --auto-correct.
  54. # Configuration parameters: EnforcedStyle.
  55. # SupportedStyles: use_perl_names, use_english_names
  56. Style/SpecialGlobalVars:
  57. Exclude:
  58. - 'lib/shopify_api.rb'
  59. - 'shopify_api.gemspec'
  60. # Offense count: 2
  61. # Cop supports --auto-correct.
  62. # Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, AllowedMethods.
  63. # AllowedMethods: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym
  64. Style/TrivialAccessors:
  65. Exclude:
  66. - 'lib/shopify_api/graphql.rb'