-
Notifications
You must be signed in to change notification settings - Fork 10
/
.rubocop_todo.yml
78 lines (67 loc) · 2.46 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2020-06-12 12:53:34 -0400 using RuboCop version 0.85.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: 8
# Cop supports --auto-correct.
Layout/CommentIndentation:
Exclude:
- 'lib/iiif_manifest/manifest_builder/record_property_builder.rb'
- 'lib/iiif_manifest/v3/manifest_builder/record_property_builder.rb'
# Offense count: 1
# Configuration parameters: IgnoredMethods.
Metrics/AbcSize:
Max: 38
# Offense count: 2
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 161
# Offense count: 2
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
Max: 9
# Offense count: 2
# Configuration parameters: AssignmentOnly.
RSpec/InstanceVariable:
Exclude:
- 'spec/lib/iiif_manifest/manifest_factory_spec.rb'
# Offense count: 19
# Configuration parameters: IgnoreSharedExamples.
RSpec/NamedSubject:
Exclude:
- 'spec/lib/iiif_manifest/display_image_spec.rb'
- 'spec/lib/iiif_manifest/iiif_endpoint_spec.rb'
- 'spec/lib/iiif_manifest/manifest_builder/resource_builder_spec.rb'
- 'spec/lib/iiif_manifest/v3/manifest_builder/body_builder_spec.rb'
- 'spec/lib/iiif_manifest/v3/manifest_builder/structure_builder_spec.rb'
# Offense count: 17
# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
RSpec/VerifiedDoubles:
Exclude:
- 'spec/lib/iiif_manifest/display_image_spec.rb'
- 'spec/lib/iiif_manifest/v3/manifest_builder/canvas_builder_spec.rb'
- 'spec/lib/iiif_manifest/v3/manifest_builder/structure_builder_spec.rb'
# Offense count: 6
# Cop supports --auto-correct.
# Configuration parameters: NilOrEmpty, NotPresent, UnlessPresent.
Rails/Blank:
Exclude:
- 'lib/iiif_manifest/manifest_builder/iiif_service.rb'
- 'lib/iiif_manifest/v3/manifest_builder/iiif_service.rb'
# Offense count: 37
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: always, always_true, never
Style/FrozenStringLiteralComment:
Enabled: false
# Offense count: 1
Style/MethodMissingSuper:
Exclude:
- 'lib/iiif_manifest/manifest_builder/composite_builder.rb'
# Offense count: 1
Style/MissingRespondToMissing:
Exclude:
- 'lib/iiif_manifest/manifest_builder/composite_builder.rb'