talkable-style 0.1.0 → 1.2021.0205

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9b1d833727f6669e7bf4d7c2bacfdc9cfab08117a4017e2254ab6b74a207411f
4
- data.tar.gz: e94d588acd87c9cbfddaffe26edd8cb50719385fc510cfb2efac78baac6abe26
3
+ metadata.gz: 11cb8ef85be2db784b5295d3bcbd9b374738168b7b3537dd82ab9f2737902a66
4
+ data.tar.gz: 96937e081dce4fc87fe3b38a9bb013bf806bb17f0d7fafb1109c94532a64c56e
5
5
  SHA512:
6
- metadata.gz: 19ce4e466faa4e18eb6e10abcf50b97abba449e58e12eb9363d580409ef261bbb5f8ee48d2256a4a20765b2a9764976e423088f8c3850b7c892e2e3c76b00f86
7
- data.tar.gz: 7781f9b274492a2fe72af96758d4f88fbbb13c11f6913ef9ec10fe68db6a2f06bd0232dd8e701e22207aa70f56069bec97ea0e16e2c829ca575efb111f25dae8
6
+ metadata.gz: 9e480e27aee2114e61dd34384cd72e4e81f5ab74879b3d1762f8e9e9b902df1b4629cc7820101f30ce029ec748c0e2ec1c00360130e7ca2bea9d6ad31c2047b9
7
+ data.tar.gz: aacd2b82e3d161b51c3766fa881fafdcb5835852a077b27ce4f58c0f829f01245efccde1ba64a385cd2ca726fe75c51a8555ae1f16dae4fa513ce3416907f3e1
data/default.yml CHANGED
@@ -1,6 +1,7 @@
1
1
  require:
2
2
  - rubocop-performance
3
3
  - rubocop-rails
4
+ - rubocop-rake
4
5
  - rubocop-rspec
5
6
 
6
7
  AllCops:
@@ -10,27 +11,26 @@ AllCops:
10
11
  - tmp/**/*
11
12
  DisplayCopNames: false
12
13
  DisabledByDefault: true
13
- TargetRubyVersion: 2.6
14
- TargetRailsVersion: 5.2
14
+ TargetRubyVersion: 2.7
15
+ TargetRailsVersion: 6.0
16
+ RSpec:
17
+ Language:
18
+ Includes:
19
+ Examples:
20
+ - it_has_behavior
15
21
 
16
22
  Bundler/DuplicatedGem:
17
23
  Enabled: true
18
24
  Bundler/InsecureProtocolSource:
19
25
  Enabled: true
20
26
 
21
- Capybara/CurrentPathExpectation:
22
- Enabled: true
23
- Capybara/FeatureMethods:
24
- Enabled: true
25
-
26
- FactoryBot/AttributeDefinedStatically:
27
+ Layout/AccessModifierIndentation:
27
28
  Enabled: true
28
- FactoryBot/CreateList:
29
+ Layout/ArrayAlignment:
29
30
  Enabled: true
30
-
31
- Layout/AccessModifierIndentation:
31
+ Layout/AssignmentIndentation:
32
32
  Enabled: true
33
- Layout/AlignArray:
33
+ Layout/BeginEndAlignment:
34
34
  Enabled: true
35
35
  Layout/BlockAlignment:
36
36
  Enabled: true
@@ -68,24 +68,24 @@ Layout/EndOfLine:
68
68
  Enabled: true
69
69
  Layout/ExtraSpacing:
70
70
  Enabled: true
71
- Layout/IndentAssignment:
72
- Enabled: true
73
- Layout/IndentFirstArrayElement:
71
+ Layout/FirstArrayElementIndentation:
74
72
  Enabled: true
75
73
  EnforcedStyle: consistent
76
- Layout/IndentFirstHashElement:
74
+ Layout/FirstHashElementIndentation:
77
75
  Enabled: true
78
76
  EnforcedStyle: consistent
79
- Layout/IndentHeredoc:
77
+ Layout/HeredocIndentation:
80
78
  Enabled: true
81
79
  Layout/IndentationConsistency:
82
80
  Enabled: true
83
- Layout/InitialIndentation:
81
+ Layout/IndentationStyle:
84
82
  Enabled: true
85
- Layout/LeadingBlankLines:
83
+ Layout/InitialIndentation:
86
84
  Enabled: true
87
85
  Layout/LeadingCommentSpace:
88
86
  Enabled: true
87
+ Layout/LeadingEmptyLines:
88
+ Enabled: true
89
89
  Layout/MultilineAssignmentLayout:
90
90
  Enabled: true
91
91
  EnforcedStyle: same_line
@@ -120,8 +120,12 @@ Layout/SpaceAroundEqualsInParameterDefault:
120
120
  Enabled: true
121
121
  Layout/SpaceAroundKeyword:
122
122
  Enabled: true
123
+ Layout/SpaceAroundMethodCallOperator:
124
+ Enabled: true
123
125
  Layout/SpaceAroundOperators:
124
126
  Enabled: true
127
+ Layout/SpaceBeforeBrackets:
128
+ Enabled: true
125
129
  Layout/SpaceBeforeComma:
126
130
  Enabled: true
127
131
  Layout/SpaceBeforeComment:
@@ -140,59 +144,89 @@ Layout/SpaceInsidePercentLiteralDelimiters:
140
144
  Enabled: true
141
145
  Layout/SpaceInsideRangeLiteral:
142
146
  Enabled: true
143
- Layout/Tab:
144
- Enabled: true
145
- Layout/TrailingBlankLines:
147
+ Layout/TrailingEmptyLines:
146
148
  Enabled: true
147
149
  Layout/TrailingWhitespace:
148
150
  Enabled: true
149
151
 
152
+ Lint/AmbiguousAssignment:
153
+ Enabled: true
150
154
  Lint/AmbiguousOperator:
151
155
  Enabled: true
152
156
  Lint/AmbiguousRegexpLiteral:
153
157
  Enabled: true
154
158
  Lint/BigDecimalNew:
155
159
  Enabled: true
160
+ Lint/BinaryOperatorWithIdenticalOperands:
161
+ Enabled: true
156
162
  Lint/BooleanSymbol:
157
163
  Enabled: true
158
164
  Lint/CircularArgumentReference:
159
165
  Enabled: true
166
+ Lint/ConstantDefinitionInBlock:
167
+ Enabled: true
160
168
  Lint/Debugger:
161
169
  Enabled: true
162
170
  Lint/DeprecatedClassMethods:
163
171
  Enabled: true
172
+ Lint/DeprecatedConstants:
173
+ Enabled: true
174
+ Lint/DeprecatedOpenSSLConstant:
175
+ Enabled: true
164
176
  Lint/DisjunctiveAssignmentInConstructor:
165
177
  Enabled: true
178
+ Lint/DuplicateBranch:
179
+ Enabled: true
166
180
  Lint/DuplicateCaseCondition:
167
181
  Enabled: true
168
- Lint/DuplicatedKey:
182
+ Lint/DuplicateElsifCondition:
183
+ Enabled: true
184
+ Lint/DuplicateHashKey:
169
185
  Enabled: true
170
186
  Lint/DuplicateMethods:
171
187
  Enabled: true
188
+ Lint/DuplicateRegexpCharacterClassElement:
189
+ Enabled: true
190
+ Lint/DuplicateRescueException:
191
+ Enabled: true
192
+ Lint/DuplicateRequire:
193
+ Enabled: true
172
194
  Lint/EachWithObjectArgument:
173
195
  Enabled: true
174
196
  Lint/ElseLayout:
175
197
  Enabled: true
198
+ Lint/EmptyBlock:
199
+ Enabled: true
200
+ Lint/EmptyClass:
201
+ Enabled: true
202
+ Lint/EmptyConditionalBody:
203
+ Enabled: true
176
204
  Lint/EmptyEnsure:
177
205
  Enabled: true
178
206
  Lint/EmptyExpression:
179
207
  Enabled: true
208
+ Lint/EmptyFile:
209
+ Enabled: true
180
210
  Lint/EmptyInterpolation:
181
211
  Enabled: true
182
212
  Lint/EmptyWhen:
183
213
  Enabled: true
184
- Lint/EndInMethod:
185
- Enabled: true
186
214
  Lint/EnsureReturn:
187
215
  Enabled: true
188
216
  Lint/FlipFlop:
189
217
  Enabled: true
218
+ Lint/FloatComparison:
219
+ Enabled: true
190
220
  Lint/FloatOutOfRange:
191
221
  Enabled: true
192
222
  Lint/FormatParameterMismatch:
193
223
  Enabled: true
224
+ Lint/HashCompareByIdentity:
225
+ Enabled: true
194
226
  Lint/HeredocMethodCallPosition:
195
227
  Enabled: true
228
+ Lint/IdentityComparison:
229
+ Enabled: true
196
230
  Lint/ImplicitStringConcatenation:
197
231
  Enabled: true
198
232
  Lint/IneffectiveAccessModifier:
@@ -208,22 +242,50 @@ Lint/Loop:
208
242
  Enabled: true
209
243
  Lint/MissingCopEnableDirective:
210
244
  Enabled: true
211
- Lint/MultipleCompare:
245
+ Lint/MissingSuper:
246
+ Enabled: true
247
+ Lint/MixedRegexpCaptureTypes:
248
+ Enabled: true
249
+ Lint/MultipleComparison:
212
250
  Enabled: true
213
251
  Lint/NestedMethodDefinition:
214
252
  Enabled: true
215
253
  Lint/NextWithoutAccumulator:
216
254
  Enabled: true
255
+ Lint/NonDeterministicRequireOrder:
256
+ Enabled: true
217
257
  Lint/NonLocalExitFromIterator:
218
258
  Enabled: true
259
+ Lint/NumberedParameterAssignment:
260
+ Enabled: true
261
+ Lint/OrAssignmentToConstant:
262
+ Enabled: true
263
+ Lint/OutOfRangeRegexpRef:
264
+ Enabled: true
219
265
  Lint/ParenthesesAsGroupedExpression:
220
266
  Enabled: true
221
267
  Lint/PercentStringArray:
222
268
  Enabled: true
223
269
  Lint/PercentSymbolArray:
224
270
  Enabled: true
271
+ Lint/RaiseException:
272
+ Enabled: true
225
273
  Lint/RandOne:
226
274
  Enabled: true
275
+ Lint/RedundantCopDisableDirective:
276
+ Enabled: true
277
+ Lint/RedundantCopEnableDirective:
278
+ Enabled: true
279
+ Lint/RedundantDirGlobSort:
280
+ Enabled: true
281
+ Lint/RedundantRequireStatement:
282
+ Enabled: true
283
+ Lint/RedundantSafeNavigation:
284
+ Enabled: true
285
+ Lint/RedundantSplatExpansion:
286
+ Enabled: true
287
+ Lint/RedundantStringCoercion:
288
+ Enabled: true
227
289
  Lint/RedundantWithIndex:
228
290
  Enabled: true
229
291
  Lint/RedundantWithObject:
@@ -240,11 +302,12 @@ Lint/ReturnInVoidContext:
240
302
  Enabled: true
241
303
  Lint/SafeNavigationChain:
242
304
  Enabled: true
243
- Whitelist:
305
+ AllowedMethods:
244
306
  - present?
245
307
  - blank?
246
308
  - presence
247
309
  - try
310
+ - try!
248
311
  - to_bool
249
312
  - to_liquid
250
313
  - in?
@@ -252,24 +315,36 @@ Lint/SafeNavigationWithEmpty:
252
315
  Enabled: true
253
316
  Lint/ScriptPermission:
254
317
  Enabled: true
318
+ Lint/SelfAssignment:
319
+ Enabled: true
320
+ Lint/SendWithMixinArgument:
321
+ Enabled: true
255
322
  Lint/ShadowedException:
256
323
  Enabled: true
257
- Lint/StringConversionInInterpolation:
324
+ Lint/StructNewOverride:
325
+ Enabled: true
326
+ Lint/SymbolConversion:
327
+ Enabled: true
328
+ Lint/ToEnumArguments:
258
329
  Enabled: true
259
330
  Lint/ToJSON:
260
331
  Enabled: true
261
- Lint/UnifiedInteger:
332
+ Lint/TopLevelReturnWithArgument:
262
333
  Enabled: true
263
- Lint/UnneededCopDisableDirective:
334
+ Lint/TrailingCommaInAttributeDeclaration:
264
335
  Enabled: true
265
- Lint/UnneededCopEnableDirective:
336
+ Lint/TripleQuotes:
266
337
  Enabled: true
267
- Lint/UnneededRequireStatement:
338
+ Lint/UnexpectedBlockArity:
268
339
  Enabled: true
269
- Lint/UnneededSplatExpansion:
340
+ Lint/UnifiedInteger:
341
+ Enabled: true
342
+ Lint/UnmodifiedReduceAccumulator:
270
343
  Enabled: true
271
344
  Lint/UnreachableCode:
272
345
  Enabled: true
346
+ Lint/UnreachableLoop:
347
+ Enabled: true
273
348
  Lint/UnusedBlockArgument:
274
349
  Enabled: true
275
350
  Lint/UnusedMethodArgument:
@@ -282,12 +357,14 @@ Lint/UselessAccessModifier:
282
357
  Enabled: true
283
358
  Lint/UselessAssignment:
284
359
  Enabled: true
285
- Lint/UselessComparison:
286
- Enabled: true
287
360
  Lint/UselessElseWithoutRescue:
288
361
  Enabled: true
362
+ Lint/UselessMethodDefinition:
363
+ Enabled: true
289
364
  Lint/UselessSetterCall:
290
365
  Enabled: true
366
+ Lint/UselessTimes:
367
+ Enabled: true
291
368
  Lint/Void:
292
369
  Enabled: true
293
370
 
@@ -310,23 +387,39 @@ Naming/PredicateName:
310
387
  Enabled: true
311
388
  NamePrefix:
312
389
  - is_
313
- NamePrefixBlacklist:
390
+ ForbiddenPrefixes:
314
391
  - is_
315
392
  Naming/RescuedExceptionsVariableName:
316
393
  Enabled: true
317
394
  Naming/VariableName:
318
395
  Enabled: true
319
396
 
397
+ Performance/AncestorsInclude:
398
+ Enabled: true
399
+ Performance/BigDecimalWithNumericArgument:
400
+ Enabled: true
401
+ Performance/BindCall:
402
+ Enabled: true
403
+ Performance/BlockGivenWithExplicitBlock:
404
+ Enabled: true
320
405
  Performance/Caller:
321
406
  Enabled: true
322
407
  Performance/Casecmp:
323
408
  Enabled: true
324
409
  Performance/CaseWhenSplat:
325
410
  Enabled: true
411
+ Performance/CollectionLiteralInLoop:
412
+ Enabled: true
326
413
  Performance/CompareWithBlock:
327
414
  Enabled: true
415
+ Performance/ConstantRegexp:
416
+ Enabled: true
328
417
  Performance/Count:
329
418
  Enabled: true
419
+ Performance/DeletePrefix:
420
+ Enabled: true
421
+ Performance/DeleteSuffix:
422
+ Enabled: true
330
423
  Performance/Detect:
331
424
  Enabled: true
332
425
  Performance/DoubleStartEndWith:
@@ -339,6 +432,8 @@ Performance/FlatMap:
339
432
  Enabled: true
340
433
  Performance/InefficientHashSearch:
341
434
  Enabled: true
435
+ Performance/IoReadlines:
436
+ Enabled: true
342
437
  Performance/RangeInclude:
343
438
  Enabled: true
344
439
  Performance/RedundantBlockCall:
@@ -347,16 +442,30 @@ Performance/RedundantMatch:
347
442
  Enabled: true
348
443
  Performance/RedundantMerge:
349
444
  Enabled: true
445
+ Performance/RedundantSortBlock:
446
+ Enabled: true
447
+ Performance/RedundantStringChars:
448
+ Enabled: true
350
449
  Performance/RegexpMatch:
351
450
  Enabled: true
352
451
  Performance/ReverseEach:
353
452
  Enabled: true
453
+ Performance/ReverseFirst:
454
+ Enabled: true
354
455
  Performance/Size:
355
456
  Enabled: true
457
+ Performance/SortReverse:
458
+ Enabled: true
459
+ Performance/Squeeze:
460
+ Enabled: true
356
461
  Performance/StartWith:
357
462
  Enabled: true
463
+ Performance/StringInclude:
464
+ Enabled: true
358
465
  Performance/StringReplacement:
359
466
  Enabled: true
467
+ Performance/Sum:
468
+ Enabled: true
360
469
  Performance/TimesMap:
361
470
  Enabled: true
362
471
  Performance/UnfreezeString:
@@ -364,20 +473,30 @@ Performance/UnfreezeString:
364
473
  Performance/UriDefaultParser:
365
474
  Enabled: true
366
475
 
367
- Rails:
368
- Enabled: true
369
476
  Rails/ActionFilter:
370
477
  Enabled: true
371
478
  Rails/ActiveRecordAliases:
372
479
  Enabled: true
480
+ Rails/ActiveRecordCallbacksOrder:
481
+ Enabled: true
373
482
  Rails/ActiveRecordOverride:
374
483
  Enabled: true
375
484
  Rails/ActiveSupportAliases:
376
485
  Enabled: true
486
+ Rails/AfterCommitOverride:
487
+ Enabled: true
488
+ Rails/ApplicationController:
489
+ Enabled: true
377
490
  Rails/ApplicationJob:
378
491
  Enabled: true
492
+ Rails/ApplicationMailer:
493
+ Enabled: true
379
494
  Rails/ApplicationRecord:
380
495
  Enabled: true
496
+ Rails/ArelStar:
497
+ Enabled: true
498
+ Rails/AttributeDefaultBlockValue:
499
+ Enabled: true
381
500
  Rails/BelongsTo:
382
501
  Enabled: true
383
502
  Rails/Blank:
@@ -395,6 +514,8 @@ Rails/DelegateAllowBlank:
395
514
  Enabled: true
396
515
  Rails/DynamicFindBy:
397
516
  Enabled: true
517
+ Rails/EnumHash:
518
+ Enabled: true
398
519
  Rails/EnumUniqueness:
399
520
  Enabled: true
400
521
  Rails/EnvironmentComparison:
@@ -403,6 +524,8 @@ Rails/Exit:
403
524
  Enabled: true
404
525
  Rails/FindBy:
405
526
  Enabled: true
527
+ Rails/FindById:
528
+ Enabled: true
406
529
  Rails/FindEach:
407
530
  Enabled: true
408
531
  Rails/HasAndBelongsToMany:
@@ -415,14 +538,30 @@ Rails/HttpStatus:
415
538
  Enabled: true
416
539
  Rails/IgnoredSkipActionFilterOption:
417
540
  Enabled: true
541
+ Rails/IndexBy:
542
+ Enabled: true
543
+ Rails/IndexWith:
544
+ Enabled: true
418
545
  Rails/InverseOf:
419
546
  Enabled: true
420
547
  Rails/LexicallyScopedActionFilter:
421
548
  Enabled: true
422
549
  Rails/LinkToBlank:
423
550
  Enabled: true
551
+ Rails/MailerName:
552
+ Enabled: true
553
+ Rails/MatchRoute:
554
+ Enabled: true
555
+ Rails/NegateInclude:
556
+ Enabled: true
424
557
  Rails/NotNullColumn:
425
558
  Enabled: true
559
+ Rails/OrderById:
560
+ Enabled: true
561
+ Rails/PluckId:
562
+ Enabled: true
563
+ Rails/PluckInWhere:
564
+ Enabled: true
426
565
  Rails/PluralizationGrammar:
427
566
  Enabled: true
428
567
  Rails/Presence:
@@ -432,6 +571,8 @@ Rails/Present:
432
571
  NotNilAndNotEmpty: false
433
572
  NotBlank: true
434
573
  UnlessBlank: true
574
+ Rails/RakeEnvironment:
575
+ Enabled: true
435
576
  Rails/ReadWriteAttribute:
436
577
  Enabled: true
437
578
  Rails/RedundantAllowNil:
@@ -442,27 +583,39 @@ Rails/ReflectionClassName:
442
583
  Enabled: true
443
584
  Rails/RelativeDateConstant:
444
585
  Enabled: true
586
+ Rails/RenderInline:
587
+ Enabled: true
588
+ Rails/RenderPlainText:
589
+ Enabled: true
445
590
  Rails/RequestReferer:
446
591
  Enabled: true
447
592
  Rails/ReversibleMigration:
448
593
  Enabled: true
449
594
  Rails/SafeNavigation:
450
595
  Enabled: true
596
+ Rails/SafeNavigationWithBlank:
597
+ Enabled: true
451
598
  Rails/SaveBang:
452
599
  Enabled: true
453
600
  Exclude:
454
601
  - spec/**/*
455
602
  Rails/ScopeArgs:
456
603
  Enabled: true
604
+ Rails/ShortI18n:
605
+ Enabled: true
457
606
  Rails/SkipsModelValidations:
458
607
  Enabled: true
459
608
  Exclude:
460
609
  - db/**/*
461
610
  - spec/**/*
611
+ Rails/SquishedSQLHeredocs:
612
+ Enabled: true
462
613
  Rails/TimeZone:
463
614
  Enabled: true
464
615
  Rails/UniqBeforePluck:
465
616
  Enabled: true
617
+ Rails/UniqueValidationWithoutIndex:
618
+ Enabled: true
466
619
  Rails/UnknownEnv:
467
620
  Enabled: true
468
621
  Environments:
@@ -472,6 +625,23 @@ Rails/UnknownEnv:
472
625
  - test
473
626
  Rails/Validation:
474
627
  Enabled: true
628
+ Rails/WhereEquals:
629
+ Enabled: true
630
+ Rails/WhereExists:
631
+ Enabled: true
632
+ Rails/WhereNot:
633
+ Enabled: true
634
+
635
+ Rake/ClassDefinitionInTask:
636
+ Enabled: true
637
+ Rake/Desc:
638
+ Enabled: true
639
+ Rake/DuplicateNamespace:
640
+ Enabled: true
641
+ Rake/DuplicateTask:
642
+ Enabled: true
643
+ Rake/MethodDefinitionInTask:
644
+ Enabled: true
475
645
 
476
646
  RSpec/AroundBlock:
477
647
  Enabled: true
@@ -481,6 +651,14 @@ RSpec/BeEql:
481
651
  Enabled: true
482
652
  RSpec/BeforeAfterAll:
483
653
  Enabled: true
654
+ RSpec/Capybara/CurrentPathExpectation:
655
+ Enabled: true
656
+ RSpec/Capybara/FeatureMethods:
657
+ Enabled: true
658
+ RSpec/Capybara/VisibilityMatcher:
659
+ Enabled: true
660
+ RSpec/ContextMethod:
661
+ Enabled: true
484
662
  RSpec/DescribeClass:
485
663
  Enabled: true
486
664
  Exclude:
@@ -492,10 +670,14 @@ RSpec/DescribeSymbol:
492
670
  Enabled: true
493
671
  RSpec/DescribedClass:
494
672
  Enabled: true
673
+ RSpec/DescribedClassModuleWrapping:
674
+ Enabled: true
495
675
  RSpec/EmptyExampleGroup:
496
676
  Enabled: true
497
- CustomIncludeMethods:
498
- - it_has_behavior
677
+ RSpec/EmptyHook:
678
+ Enabled: true
679
+ RSpec/EmptyLineAfterExample:
680
+ Enabled: true
499
681
  RSpec/EmptyLineAfterExampleGroup:
500
682
  Enabled: true
501
683
  RSpec/ExampleWithoutDescription:
@@ -506,6 +688,12 @@ RSpec/ExpectInHook:
506
688
  Enabled: true
507
689
  RSpec/ExpectOutput:
508
690
  Enabled: true
691
+ RSpec/FactoryBot/AttributeDefinedStatically:
692
+ Enabled: true
693
+ RSpec/FactoryBot/CreateList:
694
+ Enabled: true
695
+ RSpec/FactoryBot/FactoryClassName:
696
+ Enabled: true
509
697
  RSpec/FilePath:
510
698
  Enabled: true
511
699
  IgnoreMethods: true
@@ -517,12 +705,12 @@ RSpec/InstanceSpy:
517
705
  Enabled: true
518
706
  RSpec/InstanceVariable:
519
707
  Enabled: true
520
- RSpec/InvalidPredicateMatcher:
521
- Enabled: true
522
708
  RSpec/ItBehavesLike:
523
709
  Enabled: true
524
710
  RSpec/IteratedExpectation:
525
711
  Enabled: true
712
+ RSpec/LeakyConstantDeclaration:
713
+ Enabled: true
526
714
  RSpec/LetBeforeExamples:
527
715
  Enabled: true
528
716
  RSpec/LetSetup:
@@ -533,6 +721,8 @@ RSpec/MultipleSubjects:
533
721
  Enabled: true
534
722
  RSpec/OverwritingSetup:
535
723
  Enabled: true
724
+ RSpec/Rails/HttpStatus:
725
+ Enabled: true
536
726
  RSpec/ReceiveCounts:
537
727
  Enabled: true
538
728
  RSpec/ReceiveNever:
@@ -541,6 +731,10 @@ RSpec/RepeatedDescription:
541
731
  Enabled: true
542
732
  RSpec/RepeatedExample:
543
733
  Enabled: true
734
+ RSpec/RepeatedExampleGroupBody:
735
+ Enabled: true
736
+ RSpec/RepeatedExampleGroupDescription:
737
+ Enabled: true
544
738
  RSpec/ScatteredLet:
545
739
  Enabled: true
546
740
  RSpec/ScatteredSetup:
@@ -551,6 +745,12 @@ RSpec/SharedExamples:
551
745
  Enabled: true
552
746
  RSpec/SingleArgumentMessageChain:
553
747
  Enabled: true
748
+ RSpec/StubbedMock:
749
+ Enabled: true
750
+ RSpec/VariableDefinition:
751
+ Enabled: true
752
+ RSpec/VariableName:
753
+ Enabled: true
554
754
  RSpec/VerifiedDoubles:
555
755
  Enabled: true
556
756
  RSpec/VoidExpect:
@@ -569,11 +769,18 @@ Security/Open:
569
769
  Security/YAMLLoad:
570
770
  Enabled: true
571
771
 
772
+ Style/AccessorGrouping:
773
+ Enabled: true
572
774
  Style/Alias:
573
775
  Enabled: true
574
776
  EnforcedStyle: prefer_alias_method
575
777
  Style/AndOr:
576
778
  Enabled: true
779
+ Style/ArgumentsForwarding:
780
+ Enabled: true
781
+ AllowOnlyRestArgument: false
782
+ Style/ArrayCoercion:
783
+ Enabled: true
577
784
  Style/ArrayJoin:
578
785
  Enabled: true
579
786
  Style/Attr:
@@ -584,6 +791,8 @@ Style/BarePercentLiterals:
584
791
  Enabled: true
585
792
  Style/BeginBlock:
586
793
  Enabled: true
794
+ Style/BisectedAttrAccessor:
795
+ Enabled: true
587
796
  Style/BlockComments:
588
797
  Enabled: true
589
798
  Exclude:
@@ -592,12 +801,18 @@ Style/BlockDelimiters:
592
801
  Enabled: true
593
802
  Exclude:
594
803
  - spec/**/*
804
+ Style/CaseLikeIf:
805
+ Enabled: true
595
806
  Style/CharacterLiteral:
596
807
  Enabled: true
597
808
  Style/ClassCheck:
598
809
  Enabled: true
810
+ Style/ClassEqualityComparison:
811
+ Enabled: true
599
812
  Style/ClassMethods:
600
813
  Enabled: true
814
+ Style/CollectionCompact:
815
+ Enabled: true
601
816
  Style/CollectionMethods:
602
817
  Enabled: true
603
818
  PreferredMethods:
@@ -609,18 +824,20 @@ Style/ColonMethodCall:
609
824
  Enabled: true
610
825
  Style/ColonMethodDefinition:
611
826
  Enabled: true
827
+ Style/CombinableLoops:
828
+ Enabled: true
612
829
  Style/CommentAnnotation:
613
830
  Enabled: true
614
831
  Style/ConditionalAssignment:
615
832
  Enabled: true
616
- Style/ConstantVisibility:
617
- Enabled: true
618
833
  Style/DateTime:
619
834
  Enabled: true
620
835
  Style/DefWithParentheses:
621
836
  Enabled: true
622
837
  Style/Dir:
623
838
  Enabled: true
839
+ Style/DocumentDynamicEvalDefinition:
840
+ Enabled: true
624
841
  Style/EachForSimpleLoop:
625
842
  Enabled: true
626
843
  Style/EachWithObject:
@@ -635,30 +852,54 @@ Style/EmptyLiteral:
635
852
  Enabled: true
636
853
  Style/EndBlock:
637
854
  Enabled: true
855
+ Style/EndlessMethod:
856
+ Enabled: true
638
857
  Style/EvalWithLocation:
639
858
  Enabled: true
640
859
  Style/EvenOdd:
641
860
  Enabled: true
642
861
  Style/ExpandPathArguments:
643
862
  Enabled: true
863
+ Style/ExplicitBlockArgument:
864
+ Enabled: true
865
+ Style/ExponentialNotation:
866
+ Enabled: true
867
+ Style/FloatDivision:
868
+ Enabled: true
644
869
  Style/For:
645
870
  Enabled: true
871
+ Style/GlobalStdStream:
872
+ Enabled: true
646
873
  Style/GlobalVars:
647
874
  Enabled: true
875
+ Style/HashEachMethods:
876
+ Enabled: true
877
+ Style/HashExcept:
878
+ Enabled: true
879
+ Style/HashLikeCase:
880
+ Enabled: true
648
881
  Style/HashSyntax:
649
882
  Enabled: true
883
+ Style/HashTransformKeys:
884
+ Enabled: true
885
+ Style/HashTransformValues:
886
+ Enabled: true
650
887
  Style/IdenticalConditionalBranches:
651
888
  Enabled: true
652
889
  Style/IfInsideElse:
653
890
  Enabled: true
654
891
  Style/IfUnlessModifierOfIfUnless:
655
892
  Enabled: true
893
+ Style/IfWithBooleanLiteralBranches:
894
+ Enabled: true
656
895
  Style/IfWithSemicolon:
657
896
  Enabled: true
658
897
  Style/InfiniteLoop:
659
898
  Enabled: true
660
899
  Style/InverseMethods:
661
900
  Enabled: true
901
+ Style/KeywordParametersOrder:
902
+ Enabled: true
662
903
  Style/LambdaCall:
663
904
  Enabled: true
664
905
  Style/LineEndConcatenation:
@@ -667,8 +908,6 @@ Style/MethodCallWithoutArgsParentheses:
667
908
  Enabled: true
668
909
  Style/MethodDefParentheses:
669
910
  Enabled: true
670
- Style/MethodMissingSuper:
671
- Enabled: true
672
911
  Style/MinMax:
673
912
  Enabled: true
674
913
  Style/MissingRespondToMissing:
@@ -685,10 +924,14 @@ Style/MultilineMemoization:
685
924
  Enabled: true
686
925
  Style/MultilineMethodSignature:
687
926
  Enabled: true
927
+ Style/MultilineWhenThen:
928
+ Enabled: true
688
929
  Style/MultipleComparison:
689
930
  Enabled: true
690
931
  Style/MutableConstant:
691
932
  Enabled: true
933
+ Style/NegatedIfElseCondition:
934
+ Enabled: true
692
935
  Style/NegatedIf:
693
936
  Enabled: true
694
937
  Style/NegatedUnless:
@@ -703,6 +946,8 @@ Style/Next:
703
946
  Enabled: true
704
947
  Style/NilComparison:
705
948
  Enabled: true
949
+ Style/NilLambda:
950
+ Enabled: true
706
951
  Style/NonNilCheck:
707
952
  Enabled: true
708
953
  Style/Not:
@@ -715,6 +960,8 @@ Style/OneLineConditional:
715
960
  Enabled: true
716
961
  Style/OptionalArguments:
717
962
  Enabled: true
963
+ Style/OptionalBooleanParameter:
964
+ Enabled: true
718
965
  Style/ParenthesesAroundCondition:
719
966
  Enabled: true
720
967
  Style/PercentQLiterals:
@@ -727,20 +974,44 @@ Style/Proc:
727
974
  Enabled: true
728
975
  Style/RaiseArgs:
729
976
  Enabled: true
977
+ Style/RedundantArgument:
978
+ Enabled: true
979
+ Style/RedundantAssignment:
980
+ Enabled: true
730
981
  Style/RedundantBegin:
731
982
  Enabled: true
983
+ Style/RedundantCapitalW:
984
+ Enabled: true
985
+ Style/RedundantCondition:
986
+ Enabled: true
732
987
  Style/RedundantConditional:
733
988
  Enabled: true
734
989
  Style/RedundantException:
735
990
  Enabled: true
991
+ Style/RedundantFetchBlock:
992
+ Enabled: true
993
+ Style/RedundantFileExtensionInRequire:
994
+ Enabled: true
736
995
  Style/RedundantFreeze:
737
996
  Enabled: true
997
+ Style/RedundantInterpolation:
998
+ Enabled: true
738
999
  Style/RedundantParentheses:
739
1000
  Enabled: true
1001
+ Style/RedundantPercentQ:
1002
+ Enabled: true
1003
+ Style/RedundantRegexpCharacterClass:
1004
+ Enabled: true
1005
+ Style/RedundantRegexpEscape:
1006
+ Enabled: true
740
1007
  Style/RedundantReturn:
741
1008
  Enabled: true
742
1009
  Style/RedundantSelf:
743
1010
  Enabled: true
1011
+ Style/RedundantSelfAssignment:
1012
+ Enabled: true
1013
+ Style/RedundantSort:
1014
+ Enabled: true
744
1015
  Style/RedundantSortBy:
745
1016
  Enabled: true
746
1017
  Style/RescueStandardError:
@@ -755,18 +1026,30 @@ Style/SelfAssignment:
755
1026
  Enabled: true
756
1027
  Style/SignalException:
757
1028
  Enabled: true
1029
+ Style/SingleArgumentDig:
1030
+ Enabled: true
1031
+ Style/SlicingWithRange:
1032
+ Enabled: true
1033
+ Style/SoleNestedConditional:
1034
+ Enabled: true
758
1035
  Style/SpecialGlobalVars:
759
1036
  Enabled: true
760
1037
  Style/StabbyLambdaParentheses:
761
1038
  Enabled: true
1039
+ Style/StaticClass:
1040
+ Enabled: true
762
1041
  Style/StderrPuts:
763
1042
  Enabled: true
1043
+ Style/StringConcatenation:
1044
+ Enabled: true
764
1045
  Style/StringMethods:
765
1046
  Enabled: true
766
1047
  Style/Strip:
767
1048
  Enabled: true
768
1049
  Style/StructInheritance:
769
1050
  Enabled: true
1051
+ Style/SwapValues:
1052
+ Enabled: true
770
1053
  Style/SymbolLiteral:
771
1054
  Enabled: true
772
1055
  Style/SymbolProc:
@@ -775,20 +1058,12 @@ Style/TrailingBodyOnClass:
775
1058
  Enabled: true
776
1059
  Style/TrailingBodyOnModule:
777
1060
  Enabled: true
1061
+ Style/TrailingCommaInBlockArgs:
1062
+ Enabled: true
778
1063
  Style/TrivialAccessors:
779
1064
  Enabled: true
780
1065
  Style/UnlessElse:
781
1066
  Enabled: true
782
- Style/UnneededCapitalW:
783
- Enabled: true
784
- Style/UnneededCondition:
785
- Enabled: true
786
- Style/UnneededInterpolation:
787
- Enabled: true
788
- Style/UnneededPercentQ:
789
- Enabled: true
790
- Style/UnneededSort:
791
- Enabled: true
792
1067
  Style/UnpackFirst:
793
1068
  Enabled: true
794
1069
  Style/VariableInterpolation: