forked from ruby-grape/grape-swagger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
60 lines (52 loc) · 1.69 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
49
50
51
52
53
54
55
56
57
58
59
60
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2022-01-14 10:22:29 UTC using RuboCop version 1.24.1.
# 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
# Cop supports --auto-correct.
# Configuration parameters: Include.
# Include: **/*.gemspec
Gemspec/RequireMFA:
Exclude:
- 'grape-swagger.gemspec'
# Offense count: 1
# Configuration parameters: Include.
# Include: **/*.gemspec
Gemspec/RequiredRubyVersion:
Exclude:
- 'grape-swagger.gemspec'
# Offense count: 31
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 56
# Offense count: 30
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
Metrics/MethodLength:
Max: 28
# Offense count: 7
# Configuration parameters: IgnoredMethods.
Metrics/PerceivedComplexity:
Max: 16
# Offense count: 3
Style/ClassVars:
Exclude:
- 'lib/grape-swagger/doc_methods.rb'
# Offense count: 23
# Configuration parameters: AllowedConstants.
Style/Documentation:
Enabled: false
# Offense count: 43
Style/OpenStructUse:
Exclude:
- 'spec/lib/endpoint_spec.rb'
- 'spec/lib/version_spec.rb'
- 'spec/support/mock_parser.rb'
- 'spec/support/model_parsers/mock_parser.rb'
- 'spec/swagger_v2/api_swagger_v2_hide_documentation_path_spec.rb'
- 'spec/swagger_v2/api_swagger_v2_mounted_spec.rb'
- 'spec/swagger_v2/api_swagger_v2_spec.rb'
- 'spec/swagger_v2/errors_spec.rb'
- 'spec/swagger_v2/reference_entity_spec.rb'