-
Notifications
You must be signed in to change notification settings - Fork 5
/
.rubocop_todo.yml
192 lines (166 loc) · 6.11 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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2024-09-27 09:21:59 UTC using RuboCop version 1.66.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: 12
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
# URISchemes: http, https
Layout/LineLength:
Exclude:
- 'spec/features/admin/evaluation_spec.rb'
- 'spec/integrations/structure_spec.rb'
- 'spec/models/restitution/controle/comprehension_consigne_spec.rb'
- 'spec/models/restitution/controle/perseverance_spec.rb'
- 'spec/models/restitution/inventaire/perseverance_spec.rb'
- 'spec/models/restitution/inventaire/vigilance_controle_spec.rb'
- 'spec/models/restitution/maintenance/score_vocabulaire_spec.rb'
- 'spec/models/restitution/tri/comprehension_consigne_spec.rb'
# Offense count: 7
# This cop supports unsafe autocorrection (--autocorrect-all).
RSpec/BeEq:
Exclude:
- 'spec/models/question_glisser_deposer_spec.rb'
# Offense count: 6
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: NegatedMatcher.
RSpec/ChangeByZero:
Exclude:
- 'spec/models/fabrique_evenement_spec.rb'
# Offense count: 616
# Configuration parameters: Prefixes, AllowedPatterns.
# Prefixes: when, with, without
RSpec/ContextWording:
Enabled: false
# Offense count: 145
# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
Max: 38
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
RSpec/ExpectActual:
Exclude:
- 'spec/models/structure_spec.rb'
# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: method_call, block
RSpec/ExpectChange:
Exclude:
- 'spec/models/question_glisser_deposer_spec.rb'
# Offense count: 4
RSpec/ExpectInHook:
Exclude:
- 'spec/features/admin/campagne_spec.rb'
- 'spec/models/restitution/inventaire/rapidite_spec.rb'
# Offense count: 12
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: implicit, each, example
RSpec/HookArgument:
Exclude:
- 'spec/models/question_glisser_deposer_spec.rb'
# Offense count: 64
# Configuration parameters: Max, AllowedIdentifiers, AllowedPatterns.
RSpec/IndexedLet:
Enabled: false
# Offense count: 7
# Configuration parameters: AssignmentOnly.
RSpec/InstanceVariable:
Exclude:
- 'spec/controllers/eva/devise/session_controller_spec.rb'
- 'spec/models/restitution/inventaire_spec.rb'
# Offense count: 113
RSpec/LetSetup:
Enabled: false
# Offense count: 124
# Configuration parameters: EnforcedStyle.
# SupportedStyles: have_received, receive
RSpec/MessageSpies:
Enabled: false
# Offense count: 277
RSpec/MultipleExpectations:
Max: 22
# Offense count: 206
# Configuration parameters: AllowSubject.
RSpec/MultipleMemoizedHelpers:
Max: 22
# Offense count: 103
# Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
# SupportedStyles: always, named_only
RSpec/NamedSubject:
Enabled: false
# Offense count: 114
# Configuration parameters: AllowedGroups.
RSpec/NestedGroups:
Max: 7
# Offense count: 13
# Configuration parameters: AllowedPatterns.
# AllowedPatterns: ^expect_, ^assert_
RSpec/NoExpectationExample:
Exclude:
- 'spec/features/nouvelle_structure_spec.rb'
- 'spec/models/restitution/inventaire/organisation_methode_spec.rb'
# Offense count: 3
RSpec/OverwritingSetup:
Exclude:
- 'spec/jobs/notification_admin_comptes_en_attente_job_spec.rb'
- 'spec/models/restitution/bienvenue_spec.rb'
- 'spec/models/restitution/illettrisme/nombre_reponses_spec.rb'
# Offense count: 2
RSpec/RepeatedExampleGroupBody:
Exclude:
- 'spec/models/restitution/maintenance/temps_non_mots_spec.rb'
# Offense count: 2
RSpec/RepeatedExampleGroupDescription:
Exclude:
- 'spec/models/statistiques_structure_spec.rb'
# Offense count: 9
# Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata.
# Include: **/*_spec.rb
RSpec/SpecFilePathFormat:
Exclude:
- 'spec/controllers/eva/devise/session_controller_spec.rb'
- 'spec/controllers/evaluations_controller_spec.rb'
- 'spec/controllers/evenements_controller_spec.rb'
- 'spec/integrations/standardisateur_spec.rb'
- 'spec/jobs/structure/assigne_job_spec.rb'
- 'spec/mailers/structure_spec.rb'
- 'spec/models/donnees_sociodemographique_spec.rb'
- 'spec/models/restitution/objet_trouves_spec.rb'
- 'spec/models/restitution/securite/nombre_dangers_bien_identifies_avant_aide_1_spec.rb'
# Offense count: 102
RSpec/StubbedMock:
Enabled: false
# Offense count: 12
RSpec/SubjectDeclaration:
Exclude:
- 'spec/models/restitution/competences_transversales/interpreteur_spec.rb'
- 'spec/models/restitution/illettrisme/interpreteur_niveau1_spec.rb'
- 'spec/models/restitution/illettrisme/interpreteur_scores_spec.rb'
- 'spec/models/restitution/illettrisme/synthetiseur_spec.rb'
- 'spec/models/restitution/standardisateur_fige_spec.rb'
- 'spec/models/restitution/standardisateur_glissant_spec.rb'
# Offense count: 1
# Configuration parameters: EnforcedStyle, AllowedPatterns.
# SupportedStyles: snake_case, camelCase
RSpec/VariableName:
Exclude:
- 'spec/requests/evaluations_spec.rb'
# Offense count: 74
# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
RSpec/VerifiedDoubles:
Exclude:
- 'spec/controllers/structures_controller_spec.rb'
- 'spec/features/admin/evaluation_spec.rb'
- 'spec/helpers/application_helper_spec.rb'
- 'spec/models/campagne_spec.rb'
- 'spec/models/restitution/completude_spec.rb'
- 'spec/models/restitution/globale_spec.rb'
- 'spec/models/restitution/scores_niveau2_spec.rb'
- 'spec/models/situation_configuration_spec.rb'
- 'spec/tasks/ajoute_evenements_termines_spec.rb'
- 'spec/tasks/recalcule_metriques_spec.rb'