# This configuration was generated by # `rubocop --auto-gen-config` # on 2016-05-11 23:53:37 +0300 using RuboCop version 0.40.0. # 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 Lint/AmbiguousOperator: Exclude: - 'spec/lib/move_params_spec.rb' # Offense count: 1 Lint/UnreachableCode: Exclude: - 'example/config.ru' # Offense count: 1 Lint/UselessAssignment: Exclude: - 'spec/lib/move_params_spec.rb' # Offense count: 27 Metrics/AbcSize: Max: 56 # Offense count: 3 # Configuration parameters: CountComments. Metrics/ClassLength: Max: 226 # Offense count: 10 Metrics/CyclomaticComplexity: Max: 16 # Offense count: 719 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes. # URISchemes: http, https Metrics/LineLength: Max: 454 # Offense count: 31 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 101 # Offense count: 6 Metrics/PerceivedComplexity: Max: 17 # Offense count: 4 Style/ClassVars: Exclude: - 'example/api/endpoints.rb' - 'lib/grape-swagger/doc_methods.rb' # Offense count: 27 Style/Documentation: Enabled: false # Offense count: 1 Style/DoubleNegation: Exclude: - 'example/api/endpoints.rb' # Offense count: 5 # Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts. Style/FileName: Exclude: - 'lib/grape-swagger.rb' - 'spec/swagger_v2/api_swagger_v2_definitions-models_spec.rb' - 'spec/swagger_v2/api_swagger_v2_format-content_type_spec.rb' - 'spec/swagger_v2/api_swagger_v2_type-format_spec.rb' - 'spec/swagger_v2/grape-swagger_spec.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes. # SupportedStyles: slashes, percent_r, mixed Style/RegexpLiteral: Exclude: - 'lib/grape-swagger.rb'