|
1 | 1 | # This configuration was generated by
|
2 | 2 | # `rubocop --auto-gen-config`
|
3 |
| -# on 2016-11-24 18:42:08 +0800 using RuboCop version 0.45.0. |
| 3 | +# on 2017-11-03 11:12:36 +0100 using RuboCop version 0.50.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: 29 |
| 9 | +# Offense count: 30 |
10 | 10 | Metrics/AbcSize:
|
11 | 11 | Max: 56
|
12 | 12 |
|
13 |
| -# Offense count: 1 |
14 |
| -# Configuration parameters: CountComments. |
15 |
| -Metrics/BlockLength: |
16 |
| - Max: 29 |
17 |
| - |
18 | 13 | # Offense count: 3
|
19 | 14 | # Configuration parameters: CountComments.
|
20 | 15 | Metrics/ClassLength:
|
21 | 16 | Max: 280
|
22 | 17 |
|
23 |
| -# Offense count: 12 |
| 18 | +# Offense count: 10 |
24 | 19 | Metrics/CyclomaticComplexity:
|
25 |
| - Max: 15 |
26 |
| - |
27 |
| -# Offense count: 129 |
28 |
| -# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives. |
29 |
| -# URISchemes: http, https |
30 |
| -Metrics/LineLength: |
31 |
| - Max: 120 |
| 20 | + Max: 13 |
32 | 21 |
|
33 |
| -# Offense count: 35 |
| 22 | +# Offense count: 20 |
34 | 23 | # Configuration parameters: CountComments.
|
35 | 24 | Metrics/MethodLength:
|
36 | 25 | Max: 40
|
37 | 26 |
|
38 |
| -# Offense count: 7 |
| 27 | +# Offense count: 6 |
39 | 28 | Metrics/PerceivedComplexity:
|
40 |
| - Max: 16 |
| 29 | + Max: 14 |
41 | 30 |
|
42 | 31 | # Offense count: 3
|
43 | 32 | Style/ClassVars:
|
44 | 33 | Exclude:
|
45 | 34 | - 'lib/grape-swagger/doc_methods.rb'
|
46 | 35 |
|
47 |
| -# Offense count: 23 |
| 36 | +# Offense count: 20 |
48 | 37 | Style/Documentation:
|
49 | 38 | Enabled: false
|
50 | 39 |
|
51 |
| -Style/MixinGrouping: |
52 |
| - Exclude: |
53 |
| - - spec/**/* |
54 |
| - |
55 |
| -# Offense count: 1 |
56 |
| -# Cop supports --auto-correct. |
57 |
| -Style/MultilineIfModifier: |
58 |
| - Exclude: |
59 |
| - - 'lib/grape-swagger/grape/route.rb' |
60 |
| - |
61 |
| -# Offense count: 5 |
| 40 | +# Offense count: 4 |
62 | 41 | # Cop supports --auto-correct.
|
63 | 42 | # Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
|
64 | 43 | # SupportedStyles: slashes, percent_r, mixed
|
65 | 44 | Style/RegexpLiteral:
|
66 | 45 | Exclude:
|
67 | 46 | - 'lib/grape-swagger.rb'
|
| 47 | + |
| 48 | +# Offense count: 1 |
| 49 | +# Cop supports --auto-correct. |
| 50 | +# Configuration parameters: ConvertCodeThatCanStartToReturnNil. |
| 51 | +Style/SafeNavigation: |
| 52 | + Exclude: |
| 53 | + - 'lib/grape-swagger/doc_methods/build_model_definition.rb' |
0 commit comments