Browse Source

Add .rubocop.yml

Maarten van den Berg 6 years ago
parent
commit
03c949dae4
1 changed files with 640 additions and 0 deletions
  1. 640 0
      .rubocop.yml

+ 640 - 0
.rubocop.yml

@@ -0,0 +1,640 @@
1
+# This configuration was generated by
2
+# `rubocop --auto-gen-config`
3
+# on 2018-12-24 11:44:14 +0100 using RuboCop version 0.60.0.
4
+# The point is for the user to remove these configuration records
5
+# one by one as the offenses are removed from the code base.
6
+# Note that changes in the inspected code, or installation of new
7
+# versions of RuboCop, may require this file to be generated again.
8
+
9
+AllCops:
10
+  Exclude:
11
+    - 'db/schema.rb'
12
+
13
+# Offense count: 6
14
+# Cop supports --auto-correct.
15
+# Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
16
+# SupportedHashRocketStyles: key, separator, table
17
+# SupportedColonStyles: key, separator, table
18
+# SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
19
+Layout/AlignHash:
20
+  Exclude:
21
+    - 'app/models/token.rb'
22
+    - 'app/views/api/activities/show.rabl'
23
+    - 'db/seeds.rb'
24
+
25
+# Offense count: 10
26
+# Cop supports --auto-correct.
27
+# Configuration parameters: EnforcedStyle, IndentationWidth.
28
+# SupportedStyles: with_first_parameter, with_fixed_indentation
29
+Layout/AlignParameters:
30
+  Exclude:
31
+    - 'app/models/activity.rb'
32
+    - 'app/models/group.rb'
33
+    - 'app/models/member.rb'
34
+    - 'app/models/participant.rb'
35
+    - 'app/models/person.rb'
36
+
37
+# Offense count: 20
38
+# Cop supports --auto-correct.
39
+# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
40
+Layout/ExtraSpacing:
41
+  Exclude:
42
+    - 'app/controllers/activities_controller.rb'
43
+    - 'db/schema.rb'
44
+    - 'test/controllers/activities_controller_test.rb'
45
+    - 'test/controllers/api/activities_controller_test.rb'
46
+    - 'test/controllers/api/groups_controller_test.rb'
47
+    - 'test/controllers/api/people_controller_test.rb'
48
+    - 'test/controllers/groups_controller_test.rb'
49
+    - 'test/controllers/members_controller_test.rb'
50
+    - 'test/controllers/people_controller_test.rb'
51
+
52
+# Offense count: 2
53
+# Cop supports --auto-correct.
54
+# Configuration parameters: EnforcedStyle, IndentationWidth.
55
+# SupportedStyles: special_inside_parentheses, consistent, align_braces
56
+Layout/IndentHash:
57
+  Exclude:
58
+    - 'config/environments/development.rb'
59
+    - 'config/environments/production.rb'
60
+
61
+# Offense count: 19
62
+# Cop supports --auto-correct.
63
+# Configuration parameters: EnforcedStyle.
64
+# SupportedStyles: normal, rails
65
+Layout/IndentationConsistency:
66
+  Exclude:
67
+    - 'app/controllers/activities_controller.rb'
68
+    - 'app/controllers/api/people_controller.rb'
69
+    - 'app/controllers/groups_controller.rb'
70
+    - 'app/controllers/members_controller.rb'
71
+    - 'app/controllers/people_controller.rb'
72
+    - 'app/helpers/authentication_helper.rb'
73
+
74
+# Offense count: 18
75
+# Cop supports --auto-correct.
76
+# Configuration parameters: Width, IgnoredPatterns.
77
+Layout/IndentationWidth:
78
+  Exclude:
79
+    - 'app/controllers/activities_controller.rb'
80
+    - 'app/controllers/api/people_controller.rb'
81
+    - 'app/controllers/groups_controller.rb'
82
+    - 'app/controllers/members_controller.rb'
83
+    - 'app/controllers/people_controller.rb'
84
+    - 'app/models/activity.rb'
85
+
86
+# Offense count: 1
87
+# Cop supports --auto-correct.
88
+Layout/LeadingCommentSpace:
89
+  Exclude:
90
+    - 'config/initializers/assets.rb'
91
+
92
+# Offense count: 1
93
+# Cop supports --auto-correct.
94
+Layout/MultilineBlockLayout:
95
+  Exclude:
96
+    - 'app/models/activity.rb'
97
+
98
+# Offense count: 75
99
+# Cop supports --auto-correct.
100
+# Configuration parameters: EnforcedStyle, IndentationWidth.
101
+# SupportedStyles: aligned, indented, indented_relative_to_receiver
102
+Layout/MultilineMethodCallIndentation:
103
+  Exclude:
104
+    - 'app/controllers/activities_controller.rb'
105
+    - 'app/controllers/dashboard_controller.rb'
106
+    - 'app/controllers/groups_controller.rb'
107
+    - 'app/controllers/members_controller.rb'
108
+    - 'app/mailers/participant_mailer.rb'
109
+    - 'app/models/activity.rb'
110
+    - 'app/models/person.rb'
111
+
112
+# Offense count: 7
113
+# Cop supports --auto-correct.
114
+# Configuration parameters: EnforcedStyle, IndentationWidth.
115
+# SupportedStyles: aligned, indented
116
+Layout/MultilineOperationIndentation:
117
+  Exclude:
118
+    - 'app/helpers/authentication_helper.rb'
119
+    - 'app/models/activity.rb'
120
+    - 'app/models/participant.rb'
121
+
122
+# Offense count: 2
123
+# Cop supports --auto-correct.
124
+# Configuration parameters: EnforcedStyle.
125
+# SupportedStyles: space, no_space
126
+Layout/SpaceAroundEqualsInParameterDefault:
127
+  Exclude:
128
+    - 'app/helpers/authentication_helper.rb'
129
+    - 'app/models/activity.rb'
130
+
131
+# Offense count: 1
132
+# Cop supports --auto-correct.
133
+# Configuration parameters: AllowForAlignment.
134
+Layout/SpaceAroundOperators:
135
+  Exclude:
136
+    - 'app/controllers/activities_controller.rb'
137
+
138
+# Offense count: 7
139
+# Cop supports --auto-correct.
140
+# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
141
+# SupportedStyles: space, no_space
142
+# SupportedStylesForEmptyBraces: space, no_space
143
+Layout/SpaceBeforeBlockBraces:
144
+  Exclude:
145
+    - 'app/controllers/activities_controller.rb'
146
+    - 'app/controllers/api/activities_controller.rb'
147
+    - 'app/controllers/groups_controller.rb'
148
+
149
+# Offense count: 4
150
+# Cop supports --auto-correct.
151
+# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
152
+# SupportedStyles: space, no_space, compact
153
+# SupportedStylesForEmptyBrackets: space, no_space
154
+Layout/SpaceInsideArrayLiteralBrackets:
155
+  Exclude:
156
+    - 'app/controllers/members_controller.rb'
157
+    - 'config/environments/production.rb'
158
+
159
+# Offense count: 9
160
+# Cop supports --auto-correct.
161
+# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
162
+# SupportedStyles: space, no_space
163
+# SupportedStylesForEmptyBraces: space, no_space
164
+Layout/SpaceInsideBlockBraces:
165
+  Exclude:
166
+    - 'app/controllers/activities_controller.rb'
167
+    - 'app/controllers/api/activities_controller.rb'
168
+    - 'app/controllers/groups_controller.rb'
169
+    - 'config/puma.rb'
170
+
171
+# Offense count: 20
172
+# Cop supports --auto-correct.
173
+# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
174
+# SupportedStyles: space, no_space, compact
175
+# SupportedStylesForEmptyBraces: space, no_space
176
+Layout/SpaceInsideHashLiteralBraces:
177
+  Exclude:
178
+    - 'app/models/activity.rb'
179
+    - 'app/models/person.rb'
180
+    - 'config/environments/production.rb'
181
+    - 'test/controllers/activities_controller_test.rb'
182
+    - 'test/controllers/api/activities_controller_test.rb'
183
+    - 'test/controllers/api/groups_controller_test.rb'
184
+    - 'test/controllers/api/people_controller_test.rb'
185
+    - 'test/controllers/groups_controller_test.rb'
186
+    - 'test/controllers/members_controller_test.rb'
187
+    - 'test/controllers/people_controller_test.rb'
188
+
189
+# Offense count: 4
190
+# Cop supports --auto-correct.
191
+# Configuration parameters: EnforcedStyle.
192
+# SupportedStyles: space, no_space
193
+Layout/SpaceInsideParens:
194
+  Exclude:
195
+    - 'app/controllers/activities_controller.rb'
196
+
197
+# Offense count: 1
198
+# Cop supports --auto-correct.
199
+# Configuration parameters: IndentationWidth.
200
+Layout/Tab:
201
+  Exclude:
202
+    - 'config/puma.rb'
203
+
204
+# Offense count: 14
205
+# Cop supports --auto-correct.
206
+# Configuration parameters: EnforcedStyle.
207
+# SupportedStyles: final_newline, final_blank_line
208
+Layout/TrailingBlankLines:
209
+  Exclude:
210
+    - 'app/views/activities/_activity.json.jbuilder'
211
+    - 'app/views/activities/index.json.jbuilder'
212
+    - 'app/views/activities/show.json.jbuilder'
213
+    - 'app/views/api/activities/index.rabl'
214
+    - 'app/views/groups/_group.json.jbuilder'
215
+    - 'app/views/groups/index.json.jbuilder'
216
+    - 'app/views/groups/show.json.jbuilder'
217
+    - 'app/views/members/_member.json.jbuilder'
218
+    - 'app/views/members/index.json.jbuilder'
219
+    - 'app/views/members/show.json.jbuilder'
220
+    - 'app/views/people/_person.json.jbuilder'
221
+    - 'app/views/people/index.json.jbuilder'
222
+    - 'app/views/people/show.json.jbuilder'
223
+    - 'db/migrate/20181104220610_generate_group_api_tokens.rb'
224
+
225
+# Offense count: 1
226
+# Configuration parameters: AllowSafeAssignment.
227
+Lint/AssignmentInCondition:
228
+  Exclude:
229
+    - 'bin/spring'
230
+
231
+# Offense count: 1
232
+# Configuration parameters: Whitelist.
233
+# Whitelist: present?, blank?, presence, try, try!
234
+Lint/SafeNavigationChain:
235
+  Exclude:
236
+    - 'app/controllers/api_controller.rb'
237
+
238
+# Offense count: 4
239
+Lint/ShadowingOuterLocalVariable:
240
+  Exclude:
241
+    - 'db/seeds.rb'
242
+
243
+# Offense count: 2
244
+# Cop supports --auto-correct.
245
+# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
246
+Lint/UnusedBlockArgument:
247
+  Exclude:
248
+    - 'db/seeds.rb'
249
+
250
+# Offense count: 1
251
+# Cop supports --auto-correct.
252
+# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
253
+Lint/UnusedMethodArgument:
254
+  Exclude:
255
+    - 'app/helpers/application_helper.rb'
256
+
257
+# Offense count: 8
258
+Lint/UselessAssignment:
259
+  Exclude:
260
+    - 'app/helpers/authentication_helper.rb'
261
+    - 'db/seeds.rb'
262
+
263
+# Offense count: 30
264
+Metrics/AbcSize:
265
+  Max: 71
266
+
267
+# Offense count: 6
268
+# Configuration parameters: CountComments, ExcludedMethods.
269
+# ExcludedMethods: refine
270
+Metrics/BlockLength:
271
+  Max: 119
272
+
273
+# Offense count: 6
274
+# Configuration parameters: CountComments.
275
+Metrics/ClassLength:
276
+  Max: 254
277
+
278
+# Offense count: 5
279
+Metrics/CyclomaticComplexity:
280
+  Max: 12
281
+
282
+# Offense count: 35
283
+# Configuration parameters: CountComments, ExcludedMethods.
284
+Metrics/MethodLength:
285
+  Max: 50
286
+
287
+# Offense count: 1
288
+# Configuration parameters: CountComments.
289
+Metrics/ModuleLength:
290
+  Max: 105
291
+
292
+# Offense count: 3
293
+Metrics/PerceivedComplexity:
294
+  Max: 13
295
+
296
+# Offense count: 1
297
+Naming/AccessorMethodName:
298
+  Exclude:
299
+    - 'app/helpers/authentication_helper.rb'
300
+
301
+# Offense count: 5
302
+# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist, MethodDefinitionMacros.
303
+# NamePrefix: is_, has_, have_
304
+# NamePrefixBlacklist: is_, has_, have_
305
+# NameWhitelist: is_a?
306
+# MethodDefinitionMacros: define_method, define_singleton_method
307
+Naming/PredicateName:
308
+  Exclude:
309
+    - 'spec/**/*'
310
+    - 'app/helpers/authentication_helper.rb'
311
+    - 'app/models/activity.rb'
312
+    - 'app/models/group.rb'
313
+
314
+# Offense count: 2
315
+# Cop supports --auto-correct.
316
+Performance/Casecmp:
317
+  Exclude:
318
+    - 'app/models/activity.rb'
319
+
320
+# Offense count: 7
321
+# Cop supports --auto-correct.
322
+# Configuration parameters: EnforcedStyle.
323
+# SupportedStyles: always, conditionals
324
+Style/AndOr:
325
+  Exclude:
326
+    - 'app/controllers/authentication_controller.rb'
327
+    - 'app/models/activity.rb'
328
+    - 'app/models/user.rb'
329
+
330
+# Offense count: 9
331
+# Cop supports --auto-correct.
332
+# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods.
333
+# SupportedStyles: line_count_based, semantic, braces_for_chaining
334
+# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
335
+# FunctionalMethods: let, let!, subject, watch
336
+# IgnoredMethods: lambda, proc, it
337
+Style/BlockDelimiters:
338
+  Exclude:
339
+    - 'app/controllers/activities_controller.rb'
340
+    - 'app/controllers/groups_controller.rb'
341
+    - 'app/controllers/members_controller.rb'
342
+
343
+# Offense count: 3
344
+# Cop supports --auto-correct.
345
+# Configuration parameters: EnforcedStyle.
346
+# SupportedStyles: braces, no_braces, context_dependent
347
+Style/BracesAroundHashParameters:
348
+  Exclude:
349
+    - 'app/models/activity.rb'
350
+    - 'app/models/person.rb'
351
+    - 'config/environments/production.rb'
352
+
353
+# Offense count: 13
354
+# Cop supports --auto-correct.
355
+# Configuration parameters: AutoCorrect, EnforcedStyle.
356
+# SupportedStyles: nested, compact
357
+Style/ClassAndModuleChildren:
358
+  Exclude:
359
+    - 'app/controllers/api/activities_controller.rb'
360
+    - 'app/controllers/api/groups_controller.rb'
361
+    - 'app/controllers/api/me_controller.rb'
362
+    - 'app/controllers/api/people_controller.rb'
363
+    - 'app/helpers/api/activities_helper.rb'
364
+    - 'app/helpers/api/groups_helper.rb'
365
+    - 'app/helpers/api/me_helper.rb'
366
+    - 'app/helpers/api/people_helper.rb'
367
+    - 'test/controllers/api/activities_controller_test.rb'
368
+    - 'test/controllers/api/groups_controller_test.rb'
369
+    - 'test/controllers/api/me_controller_test.rb'
370
+    - 'test/controllers/api/people_controller_test.rb'
371
+    - 'test/test_helper.rb'
372
+
373
+# Offense count: 2
374
+# Cop supports --auto-correct.
375
+Style/ClassMethods:
376
+  Exclude:
377
+    - 'app/models/session.rb'
378
+
379
+# Offense count: 4
380
+# Cop supports --auto-correct.
381
+Style/ColonMethodCall:
382
+  Exclude:
383
+    - 'app/controllers/authentication_controller.rb'
384
+    - 'app/models/token.rb'
385
+
386
+# Offense count: 9
387
+# Cop supports --auto-correct.
388
+# Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
389
+# SupportedStyles: assign_to_condition, assign_inside_condition
390
+Style/ConditionalAssignment:
391
+  Exclude:
392
+    - 'app/controllers/activities_controller.rb'
393
+    - 'app/controllers/api/activities_controller.rb'
394
+    - 'app/controllers/groups_controller.rb'
395
+    - 'app/mailers/participant_mailer.rb'
396
+    - 'db/seeds.rb'
397
+
398
+# Offense count: 8
399
+# Configuration parameters: AllowCoercion.
400
+Style/DateTime:
401
+  Exclude:
402
+    - 'app/controllers/api/groups_controller.rb'
403
+    - 'app/controllers/authentication_controller.rb'
404
+    - 'app/controllers/dashboard_controller.rb'
405
+    - 'app/helpers/authentication_helper.rb'
406
+    - 'app/models/group.rb'
407
+    - 'db/seeds.rb'
408
+
409
+# Offense count: 55
410
+Style/Documentation:
411
+  Enabled: false
412
+
413
+# Offense count: 7
414
+# Cop supports --auto-correct.
415
+# Configuration parameters: EnforcedStyle.
416
+# SupportedStyles: compact, expanded
417
+Style/EmptyMethod:
418
+  Exclude:
419
+    - 'app/controllers/activities_controller.rb'
420
+    - 'app/controllers/api/people_controller.rb'
421
+    - 'app/controllers/groups_controller.rb'
422
+    - 'app/controllers/members_controller.rb'
423
+    - 'app/controllers/people_controller.rb'
424
+    - 'db/migrate/20180904163645_generate_calendar_tokens.rb'
425
+
426
+# Offense count: 6
427
+# Cop supports --auto-correct.
428
+Style/ExpandPathArguments:
429
+  Exclude:
430
+    - 'bin/bundle'
431
+    - 'bin/rails'
432
+    - 'bin/rake'
433
+    - 'bin/setup'
434
+    - 'bin/update'
435
+    - 'test/test_helper.rb'
436
+
437
+# Offense count: 140
438
+# Cop supports --auto-correct.
439
+# Configuration parameters: EnforcedStyle.
440
+# SupportedStyles: when_needed, always, never
441
+Style/FrozenStringLiteralComment:
442
+  Enabled: false
443
+
444
+# Offense count: 14
445
+# Configuration parameters: MinBodyLength.
446
+Style/GuardClause:
447
+  Exclude:
448
+    - 'app/controllers/people_controller.rb'
449
+    - 'app/helpers/activities_helper.rb'
450
+    - 'app/helpers/authentication_helper.rb'
451
+    - 'app/helpers/groups_helper.rb'
452
+    - 'app/models/activity.rb'
453
+    - 'app/models/person.rb'
454
+    - 'app/models/user.rb'
455
+
456
+# Offense count: 1
457
+# Cop supports --auto-correct.
458
+# Configuration parameters: EnforcedStyle, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
459
+# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
460
+Style/HashSyntax:
461
+  Exclude:
462
+    - 'lib/tasks/sessions.rake'
463
+
464
+# Offense count: 20
465
+# Cop supports --auto-correct.
466
+Style/IfUnlessModifier:
467
+  Exclude:
468
+    - 'app/controllers/activities_controller.rb'
469
+    - 'app/controllers/authentication_controller.rb'
470
+    - 'app/controllers/people_controller.rb'
471
+    - 'app/helpers/authentication_helper.rb'
472
+    - 'app/models/activity.rb'
473
+    - 'app/models/person.rb'
474
+    - 'app/models/user.rb'
475
+    - 'config/puma.rb'
476
+
477
+# Offense count: 1
478
+# Cop supports --auto-correct.
479
+# Configuration parameters: EnforcedStyle.
480
+# SupportedStyles: require_parentheses, require_no_parentheses, require_no_parentheses_except_multiline
481
+Style/MethodDefParentheses:
482
+  Exclude:
483
+    - 'app/helpers/dashboard_helper.rb'
484
+
485
+# Offense count: 2
486
+Style/MixinUsage:
487
+  Exclude:
488
+    - 'bin/setup'
489
+    - 'bin/update'
490
+
491
+# Offense count: 1
492
+Style/MultilineTernaryOperator:
493
+  Exclude:
494
+    - 'app/models/session.rb'
495
+
496
+# Offense count: 3
497
+# Cop supports --auto-correct.
498
+Style/MutableConstant:
499
+  Exclude:
500
+    - 'app/models/participant.rb'
501
+    - 'app/models/token.rb'
502
+
503
+# Offense count: 18
504
+# Cop supports --auto-correct.
505
+# Configuration parameters: EnforcedStyle.
506
+# SupportedStyles: both, prefix, postfix
507
+Style/NegatedIf:
508
+  Exclude:
509
+    - 'app/controllers/activities_controller.rb'
510
+    - 'app/controllers/authentication_controller.rb'
511
+    - 'app/controllers/dashboard_controller.rb'
512
+    - 'app/controllers/members_controller.rb'
513
+    - 'app/helpers/activities_helper.rb'
514
+    - 'app/helpers/authentication_helper.rb'
515
+    - 'app/helpers/groups_helper.rb'
516
+    - 'app/models/activity.rb'
517
+    - 'app/models/member.rb'
518
+    - 'app/models/person.rb'
519
+
520
+# Offense count: 1
521
+# Cop supports --auto-correct.
522
+# Configuration parameters: EnforcedStyle, MinBodyLength.
523
+# SupportedStyles: skip_modifier_ifs, always
524
+Style/Next:
525
+  Exclude:
526
+    - 'db/seeds.rb'
527
+
528
+# Offense count: 12
529
+# Cop supports --auto-correct.
530
+Style/Not:
531
+  Exclude:
532
+    - 'app/controllers/authentication_controller.rb'
533
+    - 'app/controllers/members_controller.rb'
534
+    - 'app/helpers/authentication_helper.rb'
535
+    - 'app/models/activity.rb'
536
+    - 'app/models/member.rb'
537
+    - 'app/models/person.rb'
538
+
539
+# Offense count: 1
540
+# Cop supports --auto-correct.
541
+# Configuration parameters: Strict.
542
+Style/NumericLiterals:
543
+  MinDigits: 15
544
+
545
+# Offense count: 1
546
+# Cop supports --auto-correct.
547
+# Configuration parameters: PreferredDelimiters.
548
+Style/PercentLiteralDelimiters:
549
+  Exclude:
550
+    - 'config/spring.rb'
551
+
552
+# Offense count: 2
553
+# Cop supports --auto-correct.
554
+Style/Proc:
555
+  Exclude:
556
+    - 'app/models/activity.rb'
557
+
558
+# Offense count: 5
559
+# Cop supports --auto-correct.
560
+Style/RedundantParentheses:
561
+  Exclude:
562
+    - 'db/seeds.rb'
563
+
564
+# Offense count: 5
565
+# Cop supports --auto-correct.
566
+# Configuration parameters: AllowMultipleReturnValues.
567
+Style/RedundantReturn:
568
+  Exclude:
569
+    - 'app/helpers/authentication_helper.rb'
570
+    - 'app/models/activity.rb'
571
+    - 'app/models/person.rb'
572
+
573
+# Offense count: 85
574
+# Cop supports --auto-correct.
575
+Style/RedundantSelf:
576
+  Exclude:
577
+    - 'app/models/activity.rb'
578
+    - 'app/models/group.rb'
579
+    - 'app/models/member.rb'
580
+    - 'app/models/participant.rb'
581
+    - 'app/models/person.rb'
582
+    - 'app/models/subgroup.rb'
583
+    - 'app/models/token.rb'
584
+    - 'app/models/user.rb'
585
+
586
+# Offense count: 3
587
+# Cop supports --auto-correct.
588
+# Configuration parameters: ConvertCodeThatCanStartToReturnNil, Whitelist.
589
+# Whitelist: present?, blank?, presence, try, try!
590
+Style/SafeNavigation:
591
+  Exclude:
592
+    - 'app/controllers/authentication_controller.rb'
593
+    - 'app/models/person.rb'
594
+
595
+# Offense count: 215
596
+# Cop supports --auto-correct.
597
+# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
598
+# SupportedStyles: single_quotes, double_quotes
599
+Style/StringLiterals:
600
+  Enabled: false
601
+
602
+# Offense count: 18
603
+# Cop supports --auto-correct.
604
+# Configuration parameters: MinSize.
605
+# SupportedStyles: percent, brackets
606
+Style/SymbolArray:
607
+  EnforcedStyle: brackets
608
+
609
+# Offense count: 5
610
+# Cop supports --auto-correct.
611
+# Configuration parameters: IgnoredMethods.
612
+# IgnoredMethods: respond_to, define_method
613
+Style/SymbolProc:
614
+  Exclude:
615
+    - 'app/controllers/activities_controller.rb'
616
+    - 'app/models/activity.rb'
617
+    - 'app/models/member.rb'
618
+    - 'db/migrate/20180904163645_generate_calendar_tokens.rb'
619
+
620
+# Offense count: 1
621
+# Cop supports --auto-correct.
622
+# Configuration parameters: EnforcedStyleForMultiline.
623
+# SupportedStylesForMultiline: comma, consistent_comma, no_comma
624
+Style/TrailingCommaInArguments:
625
+  Exclude:
626
+    - 'app/models/activity.rb'
627
+
628
+# Offense count: 3
629
+# Cop supports --auto-correct.
630
+# Configuration parameters: WordRegex.
631
+# SupportedStyles: percent, brackets
632
+Style/WordArray:
633
+  EnforcedStyle: percent
634
+  MinSize: 3
635
+
636
+# Offense count: 142
637
+# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
638
+# URISchemes: http, https
639
+Metrics/LineLength:
640
+  Max: 200