Sha256: 0ef2b3caeabb744ae59d94709d4e79e9a7099b6bdd2856d120c085eda72ffcbb

Contents?: true

Size: 1.26 KB

Versions: 7

Compression:

Stored size: 1.26 KB

Contents

Ezcater/RailsConfiguration:
  Description: 'Enforce the use of `Rails.configuration` instead of `Rails.application.config`.'
  Enabled: true

Ezcater/RspecDotNotSelfDot:
  Description: 'Enforce ".<class method>" instead of "self.<class method>" for example group description.'
  Enabled: true
  Include:
    - '**/*_spec.rb'

Ezcater/RspecRequireBrowserMock:
  Description: 'Enforce use of `mock_ezcater_app`, `mock_chrome_browser` & `mock_custom_browser` helpers instead of mocking `Browser` or `EzBrowser` directly.'
  Enabled: true
  Include:
    - '**/*_spec.rb'

Ezcater/RspecRequireFeatureFlagMock:
  Description: 'Enforce use of `mock_feature_flag` helpers instead of mocking `FeatureFlag.is_active?` directly.'
  Enabled: true
  Include:
    - '**/*_spec.rb'

Ezcater/RspecRequireHttpStatusMatcher:
  Description: 'Use the HTTP status code matcher, like `expect(response).to have_http_status :bad_request`, rather than `expect(response.code).to eq 400`'
  Enabled: true
  Include:
    - '**/*_spec.rb'

Ezcater/RequireGqlErrorHelpers:
  Description: 'Use the helpers provided by `GQLErrors` instead of raising `GraphQL::ExecutionError` directly.'
  Enabled: true

Ezcater/StyleDig:
  Description: 'Recommend `dig` for deeply nested access.'
  Enabled: true
  AutoCorrect: false

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ezcater_rubocop-1.0.2 config/default.yml
ezcater_rubocop-1.0.1 config/default.yml
ezcater_rubocop-1.0.0 config/default.yml
ezcater_rubocop-0.49.7 config/default.yml
ezcater_rubocop-0.49.7.rc3 config/default.yml
ezcater_rubocop-0.49.7.rc2 config/default.yml
ezcater_rubocop-0.49.7.rc1 config/default.yml