-
Notifications
You must be signed in to change notification settings - Fork 27
/
.rubocop_todo.yml
144 lines (124 loc) · 4.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
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
141
142
143
144
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2022-04-26 10:02:10 -0400 using RuboCop version 0.64.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: 4
# Cop supports --auto-correct.
Layout/EmptyLineAfterGuardClause:
Exclude:
- 'app/models/concerns/blacklight_oai_provider/solr_document.rb'
- 'lib/blacklight_oai_provider/solr_document_wrapper.rb'
- 'lib/blacklight_oai_provider/solr_set.rb'
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: empty_lines, no_empty_lines
Layout/EmptyLinesAroundBlockBody:
Exclude:
- 'spec/requests/list_metadata_formats_spec.rb'
# Offense count: 6
Metrics/AbcSize:
Max: 28
# Offense count: 4
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/MethodLength:
Max: 46
# Offense count: 2
RSpec/BeforeAfterAll:
Exclude:
- 'spec/spec_helper.rb'
- 'spec/rails_helper.rb'
- 'spec/support/**/*.rb'
- 'spec/requests/list_identifiers_spec.rb'
# Offense count: 15
# Configuration parameters: Prefixes.
# Prefixes: when, with, without
RSpec/ContextWording:
Exclude:
- 'spec/lib/blacklight_oai_provider/solr_document_wrapper_spec.rb'
- 'spec/lib/blacklight_oai_provider/solr_set_spec.rb'
- 'spec/requests/list_identifiers_spec.rb'
- 'spec/requests/list_records_spec.rb'
# Offense count: 1
# Configuration parameters: CustomIncludeMethods.
RSpec/EmptyExampleGroup:
Exclude:
- 'spec/requests/list_records_spec.rb'
# Offense count: 1
# Configuration parameters: Max.
RSpec/ExampleLength:
Exclude:
- 'spec/controllers/catalog_controller_spec.rb'
# Offense count: 1
# Configuration parameters: AssignmentOnly.
RSpec/InstanceVariable:
Exclude:
- 'spec/lib/blacklight_oai_provider/solr_document_wrapper_spec.rb'
# Offense count: 1
# Cop supports --auto-correct.
RSpec/LeadingSubject:
Exclude:
- 'spec/models/solr_document_spec.rb'
# Offense count: 14
# Configuration parameters: AggregateFailuresByDefault.
RSpec/MultipleExpectations:
Max: 2
# Offense count: 2
# Configuration parameters: EnforcedStyle.
# SupportedStyles: strict, flexible
Rails/TimeZone:
Exclude:
- 'spec/requests/identify_spec.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods.
# SupportedStyles: line_count_based, semantic, braces_for_chaining
# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
# FunctionalMethods: let, let!, subject, watch
# IgnoredMethods: lambda, proc, it
Style/BlockDelimiters:
Exclude:
- 'spec/models/solr_document_spec.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: braces, no_braces, context_dependent
Style/BracesAroundHashParameters:
Exclude:
- 'spec/models/solr_document_spec.rb'
# Offense count: 2
Style/CommentedKeyword:
Exclude:
- 'lib/blacklight_oai_provider/solr_document_wrapper.rb'
- 'lib/blacklight_oai_provider/solr_set.rb'
# Offense count: 1
# Cop supports --auto-correct.
Style/ExpandPathArguments:
Exclude:
- 'spec/test_app_templates/lib/generators/test_app_generator.rb'
# Offense count: 2
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Exclude:
- 'lib/generators/blacklight_oai_provider/install_generator.rb'
# Offense count: 1
# Cop supports --auto-correct.
Style/IfUnlessModifier:
Exclude:
- 'lib/blacklight_oai_provider/solr_document_wrapper.rb'
# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: MinSize.
# SupportedStyles: percent, brackets
Style/SymbolArray:
EnforcedStyle: brackets
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: IgnoredMethods.
# IgnoredMethods: respond_to, define_method
Style/SymbolProc:
Exclude:
- 'spec/spec_helper.rb'