mirror of
https://github.com/samsonjs/grape-active_model_serializers.git
synced 2026-03-25 08:45:55 +00:00
48 lines
1.4 KiB
YAML
48 lines
1.4 KiB
YAML
# This configuration was generated by
|
|
# `rubocop --auto-gen-config`
|
|
# on 2017-10-09 10:22:52 -0500 using RuboCop version 0.41.2.
|
|
# 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
|
|
Metrics/AbcSize:
|
|
Max: 18
|
|
|
|
# Offense count: 1
|
|
Metrics/CyclomaticComplexity:
|
|
Max: 9
|
|
|
|
# Offense count: 1
|
|
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
|
|
# URISchemes: http, https
|
|
Metrics/LineLength:
|
|
Max: 87
|
|
|
|
# Offense count: 1
|
|
# Configuration parameters: CountComments.
|
|
Metrics/MethodLength:
|
|
Max: 18
|
|
|
|
# Offense count: 1
|
|
Metrics/PerceivedComplexity:
|
|
Max: 11
|
|
|
|
# Offense count: 5
|
|
Style/Documentation:
|
|
Exclude:
|
|
- 'spec/**/*'
|
|
- 'test/**/*'
|
|
- 'lib/grape-active_model_serializers/endpoint_extension.rb'
|
|
- 'lib/grape-active_model_serializers/error_formatter.rb'
|
|
- 'lib/grape-active_model_serializers/formatter.rb'
|
|
- 'lib/grape-active_model_serializers/options_builder.rb'
|
|
- 'lib/grape-active_model_serializers/serializer_resolver.rb'
|
|
|
|
# Offense count: 2
|
|
# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts.
|
|
Style/FileName:
|
|
Exclude:
|
|
- 'lib/grape-active_model_serializers.rb'
|
|
- 'spec/grape-active_model_serializers_spec.rb'
|