-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.rubocop_todo.yml
128 lines (111 loc) · 3.84 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2023-09-11 10:31:31 UTC using RuboCop version 1.56.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: 5
Naming/AccessorMethodName:
Exclude:
- 'app/components/task_list/view.rb'
- 'app/forms/degrees_form.rb'
- 'app/lib/filtered_back_link/tracker.rb'
# Offense count: 6
# Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros.
# NamePrefix: is_, has_, have_
# ForbiddenPrefixes: is_, has_, have_
# AllowedMethods: is_a?
# MethodDefinitionMacros: define_method, define_singleton_method
Naming/PredicateName:
Exclude:
- 'app/components/application_record_card/view.rb'
- 'app/forms/course_details_form.rb'
- 'app/jobs/dttp/sync_providers_job.rb'
- 'app/jobs/dttp/sync_schools_job.rb'
- 'app/services/progress_service.rb'
# Offense count: 5
# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
# SupportedStyles: snake_case, normalcase, non_integer
# AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64
Naming/VariableNumber:
Exclude:
- 'spec/support/page_objects/trainees/course_details.rb'
# Offense count: 14
RSpec/AnyInstance:
Exclude:
- 'spec/components/dynamic_back_link/view_spec.rb'
- 'spec/components/filtered_back_link/view_spec.rb'
- 'spec/forms/diversity_form_spec.rb'
# Offense count: 1
RSpec/BeforeAfterAll:
Exclude:
- 'spec/components/start_page_banner/view_spec.rb'
# Offense count: 108
# Configuration parameters: EnforcedStyle.
# SupportedStyles: have_received, receive
RSpec/MessageSpies:
Enabled: false
# Offense count: 70
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: hash, symbol
RSpec/MetadataStyle:
Enabled: false
# Offense count: 1100
# Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
# SupportedStyles: always, named_only
RSpec/NamedSubject:
Enabled: false
# Offense count: 58
# Configuration parameters: AllowedGroups.
RSpec/NestedGroups:
Max: 6
# Offense count: 16
RSpec/RepeatedExample:
Exclude:
- 'spec/policies/trainee_policy_spec.rb'
# Offense count: 8
RSpec/RepeatedExampleGroupDescription:
Exclude:
- 'spec/components/dynamic_back_link/view_spec.rb'
- 'spec/helpers/diversities_helper_spec.rb'
- 'spec/lib/page_tracker_spec.rb'
- 'spec/services/slack_notifier_service_spec.rb'
# Offense count: 2
# Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata.
# Include: **/*_spec.rb
RSpec/SpecFilePathFormat:
Exclude:
- 'spec/helpers/degree_helper_spec.rb'
- 'spec/models/dfe_sign_in_user_spec.rb'
# Offense count: 5
RSpec/StubbedMock:
Exclude:
- 'spec/helpers/course_details_helper_spec.rb'
- 'spec/models/trainee_spec.rb'
- 'spec/services/dqt/recommend_for_award_spec.rb'
- 'spec/services/dqt/withdraw_trainee_spec.rb'
- 'spec/services/hesa/upload_trn_file_spec.rb'
# Offense count: 9
RSpec/SubjectStub:
Exclude:
- 'spec/forms/placement_form_spec.rb'
- 'spec/forms/placements_form_spec.rb'
- 'spec/forms/degree_form_spec.rb'
- 'spec/forms/degrees_form_spec.rb'
# Offense count: 80
# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
RSpec/VerifiedDoubles:
Enabled: false
# Offense count: 2
Rails/I18nLocaleTexts:
Exclude:
- 'app/controllers/system_admin/uploads_controller.rb'
# Offense count: 2
# Configuration parameters: IgnoreScopes, Include.
# Include: app/models/**/*.rb
Rails/InverseOf:
Exclude:
- 'app/models/dttp/provider.rb'
- 'app/models/provider.rb'