-
Notifications
You must be signed in to change notification settings - Fork 26
/
.rubocop_todo.yml
107 lines (91 loc) · 3.07 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2024-09-30 12:52:20 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: 7
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: final_newline, final_blank_line
Layout/TrailingEmptyLines:
Exclude:
- 'lib/fhir_models/bootstrap/json.rb'
- 'lib/fhir_models/r4/fhir_ext/structure_definition_compare.rb'
- 'lib/fhir_models/r4b/fhir_ext/structure_definition_compare.rb'
- 'lib/fhir_models/r5/fhir_ext/structure_definition_compare.rb'
# Offense count: 43
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 394
# Offense count: 7
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
# IgnoredMethods: refine
Metrics/BlockLength:
Max: 78
# Offense count: 10
# Configuration parameters: CountBlocks.
Metrics/BlockNesting:
Max: 5
# Offense count: 5
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
Max: 281
# Offense count: 34
# Configuration parameters: IgnoredMethods.
Metrics/CyclomaticComplexity:
Max: 73
# Offense count: 49
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
Metrics/MethodLength:
Max: 130
# Offense count: 4
# Configuration parameters: CountComments, CountAsOne.
Metrics/ModuleLength:
Max: 347
# Offense count: 30
# Configuration parameters: IgnoredMethods.
Metrics/PerceivedComplexity:
Max: 76
# 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_models/fhir_ext/common_structure_definition_compare.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: nested, compact
Style/ClassAndModuleChildren:
Exclude:
- '.simplecov'
# Offense count: 1
Style/ClassVars:
Exclude:
- 'lib/fhir_models/fhirpath/parse.rb'
# Offense count: 1
Style/CombinableLoops:
Exclude:
- 'lib/fhir_models/fhir_ext/common_structure_definition_compare.rb'
# Offense count: 6
# Cop supports --auto-correct.
Style/CommentedKeyword:
Exclude:
- 'lib/fhir_models/bootstrap/hashable.rb'
- 'lib/fhir_models/bootstrap/model.rb'
# Offense count: 26
# Cop supports --auto-correct.
Style/IfUnlessModifier:
Exclude:
- 'lib/fhir_models/bootstrap/model.rb'
- 'lib/fhir_models/bootstrap/xml.rb'
- 'lib/fhir_models/fhir_ext/common_structure_definition.rb'
- 'lib/fhir_models/fhir_ext/common_structure_definition_compare.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: AllowModifier.
Style/SoleNestedConditional:
Exclude:
- 'lib/fhir_models/fhir_ext/common_structure_definition_compare.rb'