-
Notifications
You must be signed in to change notification settings - Fork 6
/
.rubocop_todo.yml
140 lines (121 loc) · 4.26 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2023-12-13 21:39:37 UTC using RuboCop version 1.23.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: 37
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 407
# Offense count: 7
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
# IgnoredMethods: refine
Metrics/BlockLength:
Max: 71
# Offense count: 7
# Configuration parameters: CountBlocks.
Metrics/BlockNesting:
Max: 5
# Offense count: 6
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
Max: 345
# Offense count: 32
# Configuration parameters: IgnoredMethods.
Metrics/CyclomaticComplexity:
Max: 77
# Offense count: 44
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
Metrics/MethodLength:
Max: 126
# Offense count: 1
# Configuration parameters: CountComments, CountAsOne.
Metrics/ModuleLength:
Max: 115
# Offense count: 29
# Configuration parameters: IgnoredMethods.
Metrics/PerceivedComplexity:
Max: 80
# Offense count: 5
# Configuration parameters: EnforcedStyle, IgnoredPatterns.
# SupportedStyles: snake_case, camelCase
Naming/MethodName:
Exclude:
- 'lib/fhir_stu3_models/fhir_ext/structure_definition_finding.rb'
# Offense count: 4
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: at, by, db, id, in, io, ip, of, on, os, pp, to
Naming/MethodParameterName:
Exclude:
- 'lib/fhir_stu3_models/fhir_ext/structure_definition_compare.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: nested, compact
Style/ClassAndModuleChildren:
Exclude:
- '.simplecov'
# Offense count: 17
Style/ClassVars:
Exclude:
- 'lib/fhir_stu3_models/bootstrap/definitions.rb'
- 'lib/fhir_stu3_models/fluentpath/parse.rb'
# Offense count: 1
Style/CombinableLoops:
Exclude:
- 'lib/fhir_stu3_models/fhir_ext/structure_definition_compare.rb'
# Offense count: 6
# Cop supports --auto-correct.
Style/CommentedKeyword:
Exclude:
- 'lib/fhir_stu3_models/bootstrap/hashable.rb'
- 'lib/fhir_stu3_models/bootstrap/model.rb'
# Offense count: 15
# Configuration parameters: AllowedConstants.
Style/Documentation:
Exclude:
- '.simplecov'
- 'lib/fhir_stu3_models/bootstrap/definitions.rb'
- 'lib/fhir_stu3_models/bootstrap/field.rb'
- 'lib/fhir_stu3_models/bootstrap/generator.rb'
- 'lib/fhir_stu3_models/bootstrap/hashable.rb'
- 'lib/fhir_stu3_models/bootstrap/json.rb'
- 'lib/fhir_stu3_models/bootstrap/model.rb'
- 'lib/fhir_stu3_models/bootstrap/preprocess.rb'
- 'lib/fhir_stu3_models/bootstrap/template.rb'
- 'lib/fhir_stu3_models/bootstrap/xml.rb'
- 'lib/fhir_stu3_models/fhir.rb'
- 'lib/fhir_stu3_models/fhir_ext/structure_definition.rb'
- 'lib/fhir_stu3_models/fhir_ext/structure_definition_finding.rb'
- 'lib/fhir_stu3_models/fluentpath/expression.rb'
- 'lib/fhir_stu3_models/fluentpath/parse.rb'
# Offense count: 29
# Cop supports --auto-correct.
Style/IfUnlessModifier:
Exclude:
- 'lib/fhir_stu3_models/bootstrap/generator.rb'
- 'lib/fhir_stu3_models/bootstrap/hashable.rb'
- 'lib/fhir_stu3_models/bootstrap/model.rb'
- 'lib/fhir_stu3_models/bootstrap/template.rb'
- 'lib/fhir_stu3_models/bootstrap/xml.rb'
- 'lib/fhir_stu3_models/fhir_ext/structure_definition.rb'
- 'lib/fhir_stu3_models/fhir_ext/structure_definition_compare.rb'
# Offense count: 1
Style/MissingRespondToMissing:
Exclude:
- 'lib/fhir_stu3_models/bootstrap/model.rb'
# Offense count: 2
# Configuration parameters: AllowedMethods.
# AllowedMethods: respond_to_missing?
Style/OptionalBooleanParameter:
Exclude:
- 'lib/fhir_stu3_models/bootstrap/generator.rb'
- 'lib/fhir_stu3_models/bootstrap/template.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: AllowModifier.
Style/SoleNestedConditional:
Exclude:
- 'lib/fhir_stu3_models/fhir_ext/structure_definition_compare.rb'