-
Notifications
You must be signed in to change notification settings - Fork 4
/
.rubocop_todo.yml
118 lines (104 loc) · 3.24 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2022-05-03 00:13:42 -0500 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: 44
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: normal, indented_internal_methods
Layout/IndentationConsistency:
Enabled: false
# Offense count: 48
# Cop supports --auto-correct.
# Configuration parameters: Width, IgnoredPatterns.
Layout/IndentationWidth:
Enabled: false
# Offense count: 10
# Cop supports --auto-correct.
Performance/Detect:
Exclude:
- 'app/controllers/hyrax/etds_controller.rb'
- 'app/models/etd.rb'
- 'app/models/proquest_behaviors.rb'
- 'spec/models/etd_spec.rb'
- 'spec/models/proquest_behaviors_etd_spec.rb'
- 'spec/models/schools/school_spec.rb'
# Offense count: 4
# Cop supports --auto-correct.
Performance/RegexpMatch:
Exclude:
- 'app/actors/hyrax/actors/etd_actor.rb'
- 'lib/tasks/fix_collection_type_labels.rake'
# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: SkipBlocks, EnforcedStyle.
# SupportedStyles: described_class, explicit
RSpec/DescribedClass:
Exclude:
- 'spec/models/approver_spec.rb'
# Offense count: 8
RSpec/RepeatedDescription:
Exclude:
- 'spec/forms/hyrax/etd_form_spec.rb'
# Offense count: 2
# Cop supports --auto-correct.
Rails/ApplicationJob:
Exclude:
- 'app/jobs/graduation_job.rb'
- 'app/jobs/proquest_job.rb'
# Offense count: 1
# Cop supports --auto-correct.
Rails/ApplicationRecord:
Exclude:
- 'app/models/hyrax/uploaded_file.rb'
# Offense count: 4
# Cop supports --auto-correct.
Rails/EnvironmentComparison:
Exclude:
- 'lib/tasks/sidekiq.rake'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: numeric, symbolic
Rails/HttpStatus:
Exclude:
- 'spec/controllers/pages_controller_spec.rb'
# Offense count: 2
# Cop supports --auto-correct.
Rails/Presence:
Exclude:
- 'app/inputs/committee_member_input.rb'
- 'app/jobs/attach_files_to_work_job.rb'
# Offense count: 12
# Cop supports --auto-correct.
# Configuration parameters: NotNilAndNotEmpty, NotBlank, UnlessBlank.
Rails/Present:
Exclude:
- 'app/models/ability.rb'
- 'app/models/in_progress_etd.rb'
- 'app/services/hyrax/statistics/depositors/summary.rb'
# Offense count: 24
# Cop supports --auto-correct.
# Configuration parameters: Include.
# Include: **/Rakefile, **/*.rake
Rails/RakeEnvironment:
Exclude:
- 'lib/capistrano/tasks/**/*.rake'
- 'lib/tasks/ci.rake'
- 'lib/tasks/embargo_enforcement.rake'
- 'lib/tasks/fix_collection_type_labels.rake'
- 'lib/tasks/permission_template_access_dedup.rake'
- 'lib/tasks/read_only.rake'
- 'lib/tasks/replace_terms_of_service.rake'
- 'lib/tasks/reset_visibility.rake'
- 'lib/tasks/sample_data.rake'
- 'lib/tasks/sidekiq.rake'
- 'lib/tasks/yarn.rake'
# Offense count: 1
# Cop supports --auto-correct.
Style/RedundantBegin:
Exclude:
- 'app/models/ability.rb'