-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop_todo.yml
100 lines (88 loc) · 3.81 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
# This configuration was generated by
# `rubocop --auto-gen-config --auto-gen-only-exclude`
# on 2023-11-01 19:51:40 UTC using RuboCop version 1.57.2.
# 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: 8
# Configuration parameters: EnforcedStyle, AllowedGems, Include.
# SupportedStyles: Gemfile, gems.rb, gemspec
# Include: **/*.gemspec, **/Gemfile, **/gems.rb
Gemspec/DevelopmentDependencies:
Exclude:
- 'cocina-models.gemspec'
# Offense count: 1
Lint/NoReturnInBeginEndBlocks:
Exclude:
- 'lib/cocina/models/mapping/to_mods/description.rb'
# Offense count: 13
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
Lint/UnusedMethodArgument:
Exclude:
- 'lib/cocina/models/mapping/from_mods/admin_metadata.rb'
- 'lib/cocina/models/mapping/from_mods/contributor.rb'
- 'lib/cocina/models/mapping/from_mods/event.rb'
- 'lib/cocina/models/mapping/from_mods/form.rb'
- 'lib/cocina/models/mapping/from_mods/geographic.rb'
- 'lib/cocina/models/mapping/from_mods/hydrus_default_title_builder.rb'
- 'lib/cocina/models/mapping/from_mods/identifier.rb'
- 'lib/cocina/models/mapping/from_mods/language.rb'
- 'lib/cocina/models/mapping/from_mods/note.rb'
- 'lib/cocina/models/mapping/from_mods/subject.rb'
- 'lib/cocina/models/mapping/to_mods/event.rb'
# Offense count: 98
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 40
# Offense count: 43
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/CyclomaticComplexity:
Max: 12
# Offense count: 1
# Configuration parameters: Max, CountKeywordArgs, MaxOptionalParameters.
Metrics/ParameterLists:
Exclude:
- 'lib/cocina/generator/schema_base.rb'
# Offense count: 41
# Configuration parameters: IgnoredMetadata.
RSpec/DescribeClass:
Enabled: false
# Offense count: 224
# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
Max: 103
# Offense count: 19
RSpec/PendingWithoutReason:
Exclude:
- 'spec/cocina/models/mapping/descriptive/mods/name_spec.rb'
- 'spec/cocina/models/mapping/descriptive/mods/origin_info_place_spec.rb'
- 'spec/cocina/models/mapping/descriptive/mods/physical_description_spec.rb'
- 'spec/cocina/models/mapping/descriptive/mods/record_info_spec.rb'
- 'spec/cocina/models/mapping/descriptive/mods/subject_classification_spec.rb'
- 'spec/cocina/models/mapping/descriptive/mods/subject_genre_spec.rb'
- 'spec/cocina/models/mapping/descriptive/mods/subject_geographic_spec.rb'
- 'spec/cocina/models/mapping/descriptive/mods/subject_name_spec.rb'
- 'spec/cocina/models/mapping/descriptive/mods/subject_spec.rb'
- 'spec/cocina/models/mapping/descriptive/mods/subject_title_spec.rb'
- 'spec/cocina/models/mapping/descriptive/mods/title_info_spec.rb'
- 'spec/cocina/models/mapping/descriptive/mods/type_of_resource_spec.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Style/IfUnlessModifier:
Exclude:
- 'lib/cocina/models/validators/open_api_validator.rb'
# Offense count: 9
Style/MultilineBlockChain:
Exclude:
- 'lib/cocina/models/mapping/to_mods/access.rb'
- 'lib/cocina/models/mapping/to_mods/contributor.rb'
- 'lib/cocina/models/mapping/to_mods/form.rb'
- 'lib/cocina/models/mapping/to_mods/subject.rb'
# Offense count: 249
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
# URISchemes: http, https
Layout/LineLength:
Max: 267