config/default.yml in ezcater_rubocop-0.49.7 vs config/default.yml in ezcater_rubocop-0.50.0
- old
+ new
@@ -1,9 +1,5 @@
-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'
@@ -17,19 +13,9 @@
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