47 lines
1.3 KiB
YAML
47 lines
1.3 KiB
YAML
# This configuration was generated by
|
|
# `rubocop --auto-gen-config`
|
|
# on 2024-05-07 07:32:56 UTC using RuboCop version 1.63.4.
|
|
# 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: Severity, Include.
|
|
# Include: **/*.gemspec
|
|
Gemspec/RequiredRubyVersion:
|
|
Exclude:
|
|
- 'grape-swagger.gemspec'
|
|
|
|
# Offense count: 33
|
|
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
|
|
Metrics/AbcSize:
|
|
Max: 59
|
|
|
|
# Offense count: 32
|
|
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
|
|
Metrics/MethodLength:
|
|
Max: 28
|
|
|
|
# Offense count: 9
|
|
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
|
Metrics/PerceivedComplexity:
|
|
Max: 16
|
|
|
|
# Offense count: 3
|
|
Style/ClassVars:
|
|
Exclude:
|
|
- 'lib/grape-swagger/doc_methods.rb'
|
|
|
|
# Offense count: 1
|
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
# Configuration parameters: AllowedReceivers.
|
|
Style/CollectionCompact:
|
|
Exclude:
|
|
- 'lib/grape-swagger/endpoint.rb'
|
|
|
|
# Offense count: 23
|
|
# Configuration parameters: AllowedConstants.
|
|
Style/Documentation:
|
|
Enabled: false
|