ruby-grape/grape-on-rails

View on GitHub
.rubocop_todo.yml

Summary

Maintainability
Test Coverage
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2024-03-19 16:06:55 UTC using RuboCop version 1.62.1.
# 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
# versions of RuboCop, may require this file to be generated again.

# Offense count: 1
# Configuration parameters: AllowComments, AllowEmptyLambdas.
Lint/EmptyBlock:
  Exclude:
    - 'spec/helpers/welcome_helper_spec.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
RSpec/EmptyExampleGroup:
  Exclude:
    - 'spec/helpers/welcome_helper_spec.rb'

# Offense count: 4
# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
  Max: 13

# Offense count: 5
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
# Include: **/*_spec*rb*, **/spec/**/*
RSpec/FilePath:
  Exclude:
    - 'spec/api/headers_spec.rb'
    - 'spec/api/ping_spec.rb'
    - 'spec/api/post_spec.rb'
    - 'spec/api/protected_spec.rb'
    - 'spec/api/raise_spec.rb'

# Offense count: 4
RSpec/MultipleExpectations:
  Max: 2

# Offense count: 4
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: ResponseMethods.
# ResponseMethods: response, last_response
RSpec/Rails/HaveHttpStatus:
  Exclude:
    - 'spec/api/post_spec.rb'
    - 'spec/api/protected_spec.rb'

# Offense count: 2
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: Inferences.
RSpec/Rails/InferredSpecType:
  Exclude:
    - 'spec/features/homepage_spec.rb'
    - 'spec/features/swagger_spec.rb'

# Offense count: 2
RSpec/RepeatedExample:
  Exclude:
    - 'spec/api/headers_spec.rb'

# Offense count: 5
# Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata.
# Include: **/*_spec.rb
RSpec/SpecFilePathFormat:
  Exclude:
    - 'spec/api/headers_spec.rb'
    - 'spec/api/ping_spec.rb'
    - 'spec/api/post_spec.rb'
    - 'spec/api/protected_spec.rb'
    - 'spec/api/raise_spec.rb'