.rubocop.yml 861 B

12345678910111213141516171819202122232425262728293031
  1. inherit_from:
  2. - https://shopify.github.io/ruby-style-guide/rubocop.yml
  3. - .rubocop_todo.yml
  4. # The entries below are not included automatically in the TODO file, they should be fixed and removed as well
  5. Layout/SpaceInsideHashLiteralBraces:
  6. Enabled: false
  7. Layout/SpaceBeforeBlockBraces:
  8. Enabled: false
  9. Layout/SpaceAroundEqualsInParameterDefault:
  10. Enabled: false
  11. Style/RaiseArgs:
  12. Enabled: false
  13. AllCops:
  14. TargetRubyVersion: 2.4
  15. Lint/SuppressedException:
  16. Exclude:
  17. # Warning on test setup, the exception is expected
  18. - 'test/test_helper.rb'
  19. Lint/MissingSuper:
  20. Exclude:
  21. # We explicitly do not want to call super here
  22. - 'lib/shopify_api/graphql/http_client.rb'
  23. Lint/UnderscorePrefixedVariableName:
  24. Exclude:
  25. # This is an internal attribute and we want to make sure it's called _headers
  26. - 'lib/shopify_api/resources/base.rb'