forked from ruby-grape/grape-swagger-entity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
48 lines (41 loc) · 1.24 KB
/
.rubocop_todo.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2020-06-29 22:12:50 UTC using RuboCop version 0.86.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
# Configuration parameters: Include.
# Include: **/*.gemspec
Gemspec/RequiredRubyVersion:
Exclude:
- 'grape-swagger-entity.gemspec'
# Offense count: 4
# Configuration parameters: IgnoredMethods.
Metrics/AbcSize:
Max: 30
# Offense count: 1
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 111
# Offense count: 2
# Configuration parameters: IgnoredMethods.
Metrics/CyclomaticComplexity:
Max: 11
# Offense count: 5
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/MethodLength:
Max: 25
# Offense count: 2
# Configuration parameters: IgnoredMethods.
Metrics/PerceivedComplexity:
Max: 12
# Offense count: 4
Style/Documentation:
Exclude:
- 'spec/**/*'
- 'test/**/*'
- 'lib/grape-swagger/entity.rb'
- 'lib/grape-swagger/entity/attribute_parser.rb'
- 'lib/grape-swagger/entity/parser.rb'