forked from derfred/rubycas-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
335 lines (303 loc) · 11.6 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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
# This configuration was generated by
# `rubocop --auto-gen-config --auto-gen-only-exclude --exclude-limit 10000`
# on 2022-12-08 14:17:52 UTC using RuboCop version 1.40.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.
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowForAlignment.
Layout/CommentIndentation:
Exclude:
- 'lib/casclient/frameworks/rails/cas_proxy_callback_controller.rb'
# Offense count: 3
# This cop supports safe autocorrection (--autocorrect).
Layout/ElseAlignment:
Exclude:
- 'examples/merb/merb.thor'
- 'lib/casclient/frameworks/rails/filter.rb'
# Offense count: 15
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only
Layout/EmptyLinesAroundClassBody:
Exclude:
- 'examples/rails/app/controllers/advanced_example_controller.rb'
- 'examples/rails/app/controllers/simple_example_controller.rb'
- 'lib/casclient/frameworks/rails/cas_proxy_callback_controller.rb'
- 'lib/casclient/frameworks/rails/filter.rb'
- 'lib/casclient/frameworks/rails/request_handler.rb'
- 'setup.rb'
# Offense count: 4
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines
Layout/EmptyLinesAroundModuleBody:
Exclude:
- 'setup.rb'
# Offense count: 4
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyleAlignWith, Severity.
# SupportedStylesAlignWith: keyword, variable, start_of_line
Layout/EndAlignment:
Exclude:
- 'examples/merb/merb.thor'
- 'lib/casclient/frameworks/rails/filter.rb'
# Offense count: 44
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
# SupportedHashRocketStyles: key, separator, table
# SupportedColonStyles: key, separator, table
# SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
Layout/HashAlignment:
Exclude:
- 'examples/merb/merb.thor'
- 'examples/merb/spec/spec_helper.rb'
- 'lib/casclient/client.rb'
# Offense count: 21
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: normal, indented_internal_methods
Layout/IndentationConsistency:
Exclude:
- 'Rakefile'
- 'examples/rails/config/boot.rb'
- 'lib/casclient/frameworks/rails/cas_proxy_callback_controller.rb'
- 'lib/casclient/frameworks/rails/request_handler.rb'
# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: IndentationWidth, EnforcedStyle.
# SupportedStyles: spaces, tabs
Layout/IndentationStyle:
Exclude:
- 'lib/casclient/frameworks/rails/cas_proxy_callback_controller.rb'
# Offense count: 25
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: Width, AllowedPatterns, IgnoredPatterns.
Layout/IndentationWidth:
Exclude:
- 'examples/merb/merb.thor'
- 'examples/rails/config/boot.rb'
- 'lib/casclient.rb'
- 'lib/casclient/frameworks/rails/cas_proxy_callback_controller.rb'
- 'lib/casclient/frameworks/rails/filter.rb'
- 'lib/casclient/frameworks/rails/request_handler.rb'
# Offense count: 14
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment.
Layout/LeadingCommentSpace:
Exclude:
- 'Rakefile'
- 'examples/rails/config/environment.rb'
- 'lib/casclient/frameworks/rails/cas_proxy_callback_controller.rb'
- 'lib/casclient/version.rb'
# Offense count: 10
# This cop supports safe autocorrection (--autocorrect).
Layout/SpaceAfterComma:
Exclude:
- 'examples/merb/merb.thor'
- 'setup.rb'
# Offense count: 4
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: space, no_space
Layout/SpaceAroundEqualsInParameterDefault:
Exclude:
- 'lib/casclient.rb'
- 'lib/casclient/frameworks/rails/request_handler.rb'
- 'lib/casclient/tickets.rb'
# Offense count: 7
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator.
# SupportedStylesForExponentOperator: space, no_space
Layout/SpaceAroundOperators:
Exclude:
- 'examples/merb/merb_auth_cas.rb'
- 'init.rb'
- 'lib/casclient/client.rb'
- 'lib/casclient/frameworks/rails/request_handler.rb'
# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
# SupportedStyles: space, no_space
# SupportedStylesForEmptyBraces: space, no_space
Layout/SpaceBeforeBlockBraces:
Exclude:
- 'examples/merb/Rakefile'
- 'setup.rb'
# Offense count: 45
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
# SupportedStyles: space, no_space
# SupportedStylesForEmptyBraces: space, no_space
Layout/SpaceInsideBlockBraces:
Exclude:
- 'examples/merb/Rakefile'
- 'lib/casclient/client.rb'
- 'setup.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: space, compact, no_space
Layout/SpaceInsideParens:
Exclude:
- 'lib/casclient/responses.rb'
# Offense count: 10
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: final_newline, final_blank_line
Layout/TrailingEmptyLines:
Exclude:
- 'examples/merb/merb.thor'
- 'examples/rails/config/environments/development.rb'
- 'examples/rails/config/initializers/new_rails_defaults.rb'
- 'examples/rails/script/about'
- 'init.rb'
- 'lib/casclient.rb'
- 'lib/casclient/client.rb'
- 'lib/casclient/responses.rb'
- 'lib/casclient/tickets.rb'
- 'lib/rubycas-client.rb'
# Offense count: 390
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowInHeredoc.
Layout/TrailingWhitespace:
Exclude:
- 'Rakefile'
- 'examples/merb/Rakefile'
- 'examples/merb/merb.thor'
- 'examples/rails/app/controllers/advanced_example_controller.rb'
- 'examples/rails/app/controllers/simple_example_controller.rb'
- 'examples/rails/config/initializers/inflections.rb'
- 'lib/casclient.rb'
- 'lib/casclient/frameworks/rails/cas_proxy_callback_controller.rb'
- 'lib/casclient/frameworks/rails/request_handler.rb'
- 'lib/casclient/responses.rb'
- 'lib/casclient/tickets.rb'
- 'setup.rb'
# Offense count: 13
# This cop supports safe autocorrection (--autocorrect).
Lint/DeprecatedClassMethods:
Exclude:
- 'examples/merb/merb.thor'
- 'lib/casclient/frameworks/rails/request_handler.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Lint/RedundantStringCoercion:
Exclude:
- 'lib/casclient/responses.rb'
# Offense count: 8
Lint/UselessAssignment:
Exclude:
- 'Rakefile'
- 'examples/merb/merb.thor'
- 'examples/rails/config/boot.rb'
- 'lib/casclient/frameworks/rails/filter.rb'
- 'lib/casclient/frameworks/rails/request_handler.rb'
# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: SafeMultiline.
Performance/DeletePrefix:
Exclude:
- 'setup.rb'
# Offense count: 3
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: SafeMultiline.
Performance/StartWith:
Exclude:
- 'setup.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Performance/StringReplacement:
Exclude:
- 'examples/merb/merb.thor'
# Offense count: 7
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: always, conditionals
Style/AndOr:
Exclude:
- 'lib/casclient/client.rb'
- 'lib/casclient/frameworks/rails/cas_proxy_callback_controller.rb'
- 'lib/casclient/frameworks/rails/request_handler.rb'
- 'setup.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Style/ColonMethodCall:
Exclude:
- 'examples/merb/merb.thor'
# Offense count: 53
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
# SupportedShorthandSyntax: always, never, either, consistent
Style/HashSyntax:
Exclude:
- 'examples/merb/Rakefile'
- 'examples/merb/merb.thor'
- 'examples/merb/merb_auth_cas.rb'
- 'examples/merb/spec/spec_helper.rb'
- 'examples/rails/app/controllers/advanced_example_controller.rb'
- 'examples/rails/config/environment.rb'
- 'examples/rails/config/routes.rb'
- 'lib/casclient/client.rb'
- 'lib/casclient/frameworks/rails/cas_proxy_callback_controller.rb'
- 'lib/casclient/frameworks/rails/filter.rb'
- 'lib/casclient/tickets.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowSafeAssignment, AllowInMultilineConditions.
Style/ParenthesesAroundCondition:
Exclude:
- 'examples/merb/merb.thor'
# Offense count: 27
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowMultipleReturnValues.
Style/RedundantReturn:
Exclude:
- 'examples/merb/merb.thor'
- 'lib/casclient/client.rb'
- 'lib/casclient/frameworks/rails/filter.rb'
- 'lib/casclient/frameworks/rails/request_handler.rb'
- 'lib/casclient/responses.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowAsExpressionSeparator.
Style/Semicolon:
Exclude:
- 'setup.rb'
# Offense count: 620
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
# SupportedStyles: single_quotes, double_quotes
Style/StringLiterals:
Exclude:
- 'Rakefile'
- 'examples/merb/Rakefile'
- 'examples/merb/merb.thor'
- 'examples/merb/merb_auth_cas.rb'
- 'examples/merb/spec/spec_helper.rb'
- 'examples/rails/config/boot.rb'
- 'examples/rails/config/environment.rb'
- 'examples/rails/config/routes.rb'
- 'examples/rails/script/about'
- 'examples/rails/script/console'
- 'examples/rails/script/server'
- 'init.rb'
- 'lib/casclient.rb'
- 'lib/casclient/client.rb'
- 'lib/casclient/frameworks/rails/cas_proxy_callback_controller.rb'
- 'lib/casclient/frameworks/rails/filter.rb'
- 'lib/casclient/frameworks/rails/request_handler.rb'
- 'lib/casclient/responses.rb'
- 'lib/casclient/version.rb'
- 'lib/rubycas-client.rb'
- 'setup.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, AllowedMethods.
# AllowedMethods: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym
Style/TrivialAccessors:
Exclude:
- 'setup.rb'