1
1
# This configuration was generated by
2
2
# `rubocop --auto-gen-config`
3
- # on 2022-01-14 10:22:29 UTC using RuboCop version 1.24.1 .
3
+ # on 2023-05-20 18:23:47 UTC using RuboCop version 1.51.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
9
# Offense count: 1
10
- # Cop supports --auto-correct.
11
- # Configuration parameters: Include.
12
- # Include: **/*.gemspec
13
- Gemspec/RequireMFA :
14
- Exclude :
15
- - ' grape-swagger.gemspec'
16
-
17
- # Offense count: 1
18
- # Configuration parameters: Include.
10
+ # Configuration parameters: Severity, Include.
19
11
# Include: **/*.gemspec
20
12
Gemspec/RequiredRubyVersion :
21
13
Exclude :
22
14
- ' grape-swagger.gemspec'
23
15
24
- # Offense count: 31
25
- # Configuration parameters: IgnoredMethods , CountRepeatedAttributes.
16
+ # Offense count: 32
17
+ # Configuration parameters: AllowedMethods, AllowedPatterns , CountRepeatedAttributes.
26
18
Metrics/AbcSize :
27
19
Max : 56
28
20
29
21
# Offense count: 30
30
- # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods .
22
+ # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns .
31
23
Metrics/MethodLength :
32
24
Max : 28
33
25
34
- # Offense count: 7
35
- # Configuration parameters: IgnoredMethods .
26
+ # Offense count: 8
27
+ # Configuration parameters: AllowedMethods, AllowedPatterns .
36
28
Metrics/PerceivedComplexity :
37
29
Max : 16
38
30
@@ -41,20 +33,13 @@ Style/ClassVars:
41
33
Exclude :
42
34
- ' lib/grape-swagger/doc_methods.rb'
43
35
36
+ # Offense count: 1
37
+ # This cop supports unsafe autocorrection (--autocorrect-all).
38
+ Style/CollectionCompact :
39
+ Exclude :
40
+ - ' lib/grape-swagger/endpoint.rb'
41
+
44
42
# Offense count: 23
45
43
# Configuration parameters: AllowedConstants.
46
44
Style/Documentation :
47
45
Enabled : false
48
-
49
- # Offense count: 43
50
- Style/OpenStructUse :
51
- Exclude :
52
- - ' spec/lib/endpoint_spec.rb'
53
- - ' spec/lib/version_spec.rb'
54
- - ' spec/support/mock_parser.rb'
55
- - ' spec/support/model_parsers/mock_parser.rb'
56
- - ' spec/swagger_v2/api_swagger_v2_hide_documentation_path_spec.rb'
57
- - ' spec/swagger_v2/api_swagger_v2_mounted_spec.rb'
58
- - ' spec/swagger_v2/api_swagger_v2_spec.rb'
59
- - ' spec/swagger_v2/errors_spec.rb'
60
- - ' spec/swagger_v2/reference_entity_spec.rb'
0 commit comments