|
1 | 1 | # This configuration was generated by |
2 | 2 | # `rubocop --auto-gen-config` |
3 | | -# on 2017-07-03 22:59:40 +0300 using RuboCop version 0.49.1. |
| 3 | +# on 2020-06-29 22:12:50 UTC using RuboCop version 0.86.0. |
4 | 4 | # The point is for the user to remove these configuration records |
5 | 5 | # one by one as the offenses are removed from the code base. |
6 | 6 | # Note that changes in the inspected code, or installation of new |
7 | 7 | # versions of RuboCop, may require this file to be generated again. |
8 | 8 |
|
9 | | -# Offense count: 2 |
10 | | -Metrics/AbcSize: |
11 | | - Max: 40 |
12 | | - |
13 | 9 | # Offense count: 1 |
14 | | -# Configuration parameters: CountComments, ExcludedMethods. |
15 | | -Metrics/BlockLength: |
16 | | - Max: 27 |
| 10 | +# Configuration parameters: Include. |
| 11 | +# Include: **/*.gemspec |
| 12 | +Gemspec/RequiredRubyVersion: |
| 13 | + Exclude: |
| 14 | + - 'grape-swagger-entity.gemspec' |
| 15 | + |
| 16 | +# Offense count: 4 |
| 17 | +# Configuration parameters: IgnoredMethods. |
| 18 | +Metrics/AbcSize: |
| 19 | + Max: 30 |
17 | 20 |
|
18 | 21 | # Offense count: 1 |
19 | 22 | # Configuration parameters: CountComments. |
20 | 23 | Metrics/ClassLength: |
21 | | - Max: 124 |
| 24 | + Max: 111 |
22 | 25 |
|
23 | | -# Offense count: 1 |
| 26 | +# Offense count: 2 |
| 27 | +# Configuration parameters: IgnoredMethods. |
24 | 28 | Metrics/CyclomaticComplexity: |
25 | | - Max: 15 |
26 | | - |
27 | | -# Offense count: 14 |
28 | | -# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. |
29 | | -# URISchemes: http, https |
30 | | -Metrics/LineLength: |
31 | | - Max: 120 |
| 29 | + Max: 11 |
32 | 30 |
|
33 | | -# Offense count: 3 |
34 | | -# Configuration parameters: CountComments. |
| 31 | +# Offense count: 5 |
| 32 | +# Configuration parameters: CountComments, ExcludedMethods. |
35 | 33 | Metrics/MethodLength: |
36 | | - Max: 30 |
| 34 | + Max: 25 |
37 | 35 |
|
38 | 36 | # Offense count: 2 |
| 37 | +# Configuration parameters: IgnoredMethods. |
39 | 38 | Metrics/PerceivedComplexity: |
40 | | - Max: 16 |
| 39 | + Max: 12 |
41 | 40 |
|
42 | | -# Offense count: 2 |
| 41 | +# Offense count: 4 |
43 | 42 | Style/Documentation: |
44 | 43 | Exclude: |
45 | 44 | - 'spec/**/*' |
46 | 45 | - 'test/**/*' |
47 | 46 | - 'lib/grape-swagger/entity.rb' |
48 | | - - 'lib/grape-swagger/entity/parser.rb' |
49 | 47 | - 'lib/grape-swagger/entity/attribute_parser.rb' |
| 48 | + - 'lib/grape-swagger/entity/parser.rb' |
0 commit comments