forked from notch8/doris-hyku
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
120 lines (97 loc) · 2.94 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
# Turn on RSpec cops
require: rubocop-rspec
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2016-08-30 08:01:37 -0500 using RuboCop version 0.42.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.
Style/FrozenStringLiteralComment:
Enabled: false
Style/SafeNavigation:
Enabled: false
Metrics/MethodLength:
Exclude:
- 'app/jobs/import_work_from_purl_job.rb'
- 'spec/support/rake.rb'
RSpec/SubjectStub:
Exclude:
- 'spec/models/solr_endpoint_spec.rb'
# Offense count: 10
RSpec/LeadingSubject:
Exclude:
- 'spec/controllers/hyrax/generic_works_controller_spec.rb'
- 'spec/helpers/admin_stats_helper_spec.rb'
- 'spec/lib/active_job_tenant_spec.rb'
- 'spec/lib/importer/factory/string_literal_processor_spec.rb'
- 'spec/lib/stanford/importer/mods_parser_spec.rb'
- 'spec/services/create_account_spec.rb'
- 'spec/services/iiif_thumbnail_path_service_spec.rb'
- 'spec/services/solr_config_uploader_spec.rb'
# Offense count: 13
RSpec/LetSetup:
Exclude:
- 'spec/lib/importer/factory/etd_factory_spec.rb'
- 'spec/lib/importer/factory/image_factory_spec.rb'
- 'spec/lib/stanford/importer/purl_importer_spec.rb'
- 'spec/models/account_spec.rb'
- 'spec/models/role_spec.rb'
- 'spec/models/user_spec.rb'
# Offense count: 4
# Configuration parameters: MaxNesting.
RSpec/NestedGroups:
Exclude:
- 'spec/services/iiif_authorization_service_spec.rb'
RSpec/ContextWording:
Enabled: false
RSpec/IteratedExpectation:
Exclude:
- 'spec/tasks/rake_spec.rb'
RSpec/BeforeAfterAll:
Exclude:
- 'spec/tasks/rake_spec.rb'
- 'spec/models/uploaded_file_spec.rb'
Style/MixinUsage:
Exclude:
- 'spec/support/devise.rb'
- 'spec/features/create_image_spec.rb'
RSpec/ScatteredLet:
Enabled: false
RSpec/HookArgument:
Exclude:
- 'spec/rails_helper.rb'
- 'spec/models/uploaded_file_spec.rb'
RSpec/ExpectInHook:
Exclude:
- 'spec/models/uploaded_file_spec.rb'
- 'spec/controllers/sites_controller_spec.rb'
Style/FormatStringToken:
Exclude:
- 'spec/models/account_spec.rb'
- 'app/models/account.rb'
Rails/ApplicationJob:
Enabled: false
Rails/ApplicationRecord:
Enabled: false
RSpec/BeforeAfterAll:
Exclude:
- 'spec/models/hyku/group_spec.rb'
- 'spec/tasks/rake_spec.rb'
- 'spec/models/uploaded_file_spec.rb'
Naming/HeredocDelimiterNaming:
Exclude:
- 'spec/jobs/import_work_from_purl_job_spec.rb'
Rails/HasManyOrHasOneDependent:
Exclude:
- 'app/models/endpoint.rb'
FactoryBot/DynamicAttributeDefinedStatically:
Exclude:
- 'spec/factories/users.rb'
Performance/RegexpMatch:
Exclude:
- 'lib/importer/csv_parser.rb'
- 'app/services/solr_config_uploader.rb'
- 'app/models/account.rb'
ClassLength:
Max: 120