# This configuration was generated by # `rubocop --auto-gen-config` # on 2022-01-14 10:22:29 UTC using RuboCop version 1.24.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 # Cop supports --auto-correct. # Configuration parameters: Include. # Include: **/*.gemspec Gemspec/RequireMFA: Exclude: - 'grape-swagger.gemspec' # Offense count: 1 # Configuration parameters: Include. # Include: **/*.gemspec Gemspec/RequiredRubyVersion: Exclude: - 'grape-swagger.gemspec' # Offense count: 31 # Configuration parameters: IgnoredMethods, CountRepeatedAttributes. Metrics/AbcSize: Max: 56 # Offense count: 30 # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. Metrics/MethodLength: Max: 28 # Offense count: 7 # Configuration parameters: IgnoredMethods. Metrics/PerceivedComplexity: Max: 16 # Offense count: 3 Style/ClassVars: Exclude: - 'lib/grape-swagger/doc_methods.rb' # Offense count: 23 # Configuration parameters: AllowedConstants. Style/Documentation: Enabled: false # Offense count: 43 Style/OpenStructUse: Exclude: - 'spec/lib/endpoint_spec.rb' - 'spec/lib/version_spec.rb' - 'spec/support/mock_parser.rb' - 'spec/support/model_parsers/mock_parser.rb' - 'spec/swagger_v2/api_swagger_v2_hide_documentation_path_spec.rb' - 'spec/swagger_v2/api_swagger_v2_mounted_spec.rb' - 'spec/swagger_v2/api_swagger_v2_spec.rb' - 'spec/swagger_v2/errors_spec.rb' - 'spec/swagger_v2/reference_entity_spec.rb'