-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
104 lines (92 loc) · 3.22 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
# This configuration was generated by
# `rubocop --auto-gen-config --no-auto-gen-timestamp`
# using RuboCop version 1.64.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: 1
Lint/ShadowedException:
Exclude:
- 'app/models/concerns/to_csv.rb'
# Offense count: 1
# Configuration parameters: AllowComments, AllowNil.
Lint/SuppressedException:
Exclude:
- 'lib/tasks/cms.rake'
# Offense count: 8
RSpec/LetSetup:
Exclude:
- 'spec/jobs/complete_registration_mail_job_spec.rb'
- 'spec/jobs/continue_training_mail_job_spec.rb'
- 'spec/jobs/new_module_mail_job_spec.rb'
- 'spec/jobs/start_training_mail_job_spec.rb'
- 'spec/jobs/test_bulk_mail_job_spec.rb'
# Offense count: 1
# Configuration parameters: AllowedPatterns.
# AllowedPatterns: ^expect_, ^assert_
RSpec/NoExpectationExample:
Exclude:
- 'spec/support/shared/email_prompt.rb'
# Offense count: 12
# This cop supports unsafe autocorrection (--autocorrect-all).
RSpec/ReceiveMessages:
Exclude:
- 'spec/controllers/users/omniauth_callbacks_controller_spec.rb'
- 'spec/helpers/link_helper_spec.rb'
# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: constant, string
RSpec/VerifiedDoubleReference:
Exclude:
- 'spec/services/gov_one_auth_service_spec.rb'
# Offense count: 2
# Configuration parameters: Database, Include.
# SupportedDatabases: mysql, postgresql
# Include: db/**/*.rb
Rails/BulkChangeTable:
Exclude:
- 'db/migrate/20220617020303_add_summative_assessment_fields_to_user_answers.rb'
# Offense count: 4
# Configuration parameters: Include.
# Include: db/**/*.rb
Rails/CreateTableWithTimestamps:
Exclude:
- 'db/migrate/20220419121105_create_ahoy_visits_and_events.rb'
- 'db/migrate/20230316130014_create_releases.rb'
- 'db/migrate/20240119091634_create_assessments.rb'
# Offense count: 4
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: Include.
# Include: app/**/*.rb, config/**/*.rb, db/**/*.rb, lib/**/*.rb
Rails/Output:
Exclude:
- 'app/jobs/application_job.rb'
- 'app/models/concerns/to_csv.rb'
- 'app/services/content_integrity.rb'
- 'app/services/dashboard.rb'
# Offense count: 8
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: AllowImplicitReturn, AllowedReceivers.
Rails/SaveBang:
Exclude:
- 'app/forms/registration/setting_type_form.rb'
- 'app/models/user.rb'
- 'app/services/assessment_progress.rb'
- 'config/sitemap.rb'
- 'lib/seed_images.rb'
- 'spec/forms/registration/setting_type_form_spec.rb'
# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/Validation:
Exclude:
- 'app/models/course.rb'
- 'app/models/training/module.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Style/EmptyCaseCondition:
Exclude:
- 'app/decorators/next_page_decorator.rb'