-
Notifications
You must be signed in to change notification settings - Fork 6
/
.rubocop_todo.yml
105 lines (93 loc) · 3.33 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
# This configuration was generated by
# `rubocop --auto-gen-config --auto-gen-only-exclude`
# on 2023-12-01 19:40:01 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: 3
Capybara/SpecificActions:
Exclude:
- 'spec/features/geo_viewer_spec.rb'
# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
Capybara/SpecificFinders:
Exclude:
- 'spec/features/embed_this_panel_spec.rb'
# Offense count: 1
# Configuration parameters: CountComments, Max, CountAsOne.
Metrics/ClassLength:
Exclude:
- 'lib/embed/request.rb'
# Offense count: 5
# Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
Exclude:
- 'app/models/embed/purl/file_xml_deserializer.rb'
- 'app/models/embed/was_time_map.rb'
- 'app/viewers/embed/viewer/geo.rb'
- 'app/viewers/embed/viewer/m3_viewer.rb'
- 'lib/embed/request.rb'
# Offense count: 14
RSpec/AnyInstance:
Exclude:
- 'spec/components/embed/was_seed_component_spec.rb'
- 'spec/features/was_seed_viewer_spec.rb'
- 'spec/lib/embed/viewer/common_viewer_spec.rb'
- 'spec/lib/embed/viewer/m3_viewer_spec.rb'
- 'spec/models/embed/purl_spec.rb'
- 'spec/models/embed/was_time_map_spec.rb'
# Offense count: 4
# Configuration parameters: Prefixes, AllowedPatterns.
# Prefixes: when, with, without
RSpec/ContextWording:
Exclude:
- 'spec/lib/embed/pretty_filesize_spec.rb'
- 'spec/lib/embed/viewer_factory_spec.rb'
# Offense count: 23
RSpec/ExpectInHook:
Exclude:
- 'spec/components/embed/was_seed_component_spec.rb'
- 'spec/features/was_seed_viewer_spec.rb'
- 'spec/lib/embed/response_spec.rb'
- 'spec/lib/embed/viewer/file_spec.rb'
- 'spec/models/embed/was_time_map_spec.rb'
# Offense count: 2
RSpec/IteratedExpectation:
Exclude:
- 'spec/models/embed/was_time_map_spec.rb'
# Offense count: 28
# Configuration parameters: EnforcedStyle.
# SupportedStyles: have_received, receive
RSpec/MessageSpies:
Exclude:
- 'spec/components/embed/was_seed_component_spec.rb'
- 'spec/features/was_seed_viewer_spec.rb'
- 'spec/lib/embed/request_spec.rb'
- 'spec/lib/embed/response_spec.rb'
- 'spec/lib/embed/viewer/common_viewer_spec.rb'
- 'spec/lib/embed/viewer/file_spec.rb'
- 'spec/lib/embed/viewer/m3_viewer_spec.rb'
- 'spec/lib/embed/viewer/was_seed_spec.rb'
- 'spec/models/embed/was_time_map_spec.rb'
# Offense count: 15
# Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
# SupportedStyles: always, named_only
RSpec/NamedSubject:
Exclude:
- 'spec/lib/embed/stacks_image_spec.rb'
- 'spec/lib/embed/viewer_factory_spec.rb'
- 'spec/models/embed/was_time_map_spec.rb'
# Offense count: 10
RSpec/StubbedMock:
Exclude:
- 'spec/lib/embed/request_spec.rb'
- 'spec/lib/embed/response_spec.rb'
- 'spec/lib/embed/viewer/common_viewer_spec.rb'
- 'spec/lib/embed/viewer/file_spec.rb'
- 'spec/lib/embed/viewer/m3_viewer_spec.rb'
- 'spec/lib/embed/viewer/was_seed_spec.rb'
# Offense count: 65
# Configuration parameters: AllowedConstants.
Style/Documentation:
Enabled: false