session_keys 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7b74b3a502d1899a68ff8b16541ea362382c8669
4
+ data.tar.gz: 52dda96d9ce724e94029fb0cd721dc60a5cf0b20
5
+ SHA512:
6
+ metadata.gz: 00fea5dc09be245cd39b32f8cc836ba2610384911730c5e32eed10e4c87368530d753bc35fde5a6b13ad751de9a21e8414c9801d9849be38f55ec4f107634b54
7
+ data.tar.gz: f5a9b84aea86470d7a2cc1d0613bf409d3285d3911487b25a2d41fe4345323d48a29fd0e3c4a928f87c27f67bf61c4c91b8c0336f9dca118f5fd0fd71da49ab2
Binary file
@@ -0,0 +1 @@
1
+ |cZ� ���QI�]�u���}��%��O�i��y��#9�jY9��N��`���>-r���N��d�;��`��Qq�<�im& ���Ts`����`��h�B�90e'HT�c/��'}��d�۱��j����+0�"<f_�Et���ڞz�����~8�غ)
@@ -0,0 +1,7 @@
1
+ :include:
2
+ - lib
3
+ :exclude:
4
+ - lib/session_keys/version.rb
5
+ - test
6
+ :theme: dark
7
+ :show_link_in_terminal: true
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
@@ -0,0 +1,1245 @@
1
+ AllCops:
2
+ # Exclude:
3
+ # - 'vendor/**/*'
4
+ # - 'db/schema.rb'
5
+ # - 'test/**/*'
6
+ UseCache: false
7
+ # DisabledByDefault: true
8
+
9
+ #################### Lint ################################
10
+
11
+ Lint/AmbiguousOperator:
12
+ Description: >-
13
+ Checks for ambiguous operators in the first argument of a
14
+ method invocation without parentheses.
15
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#parens-as-args'
16
+ Enabled: true
17
+
18
+ Lint/AmbiguousRegexpLiteral:
19
+ Description: >-
20
+ Checks for ambiguous regexp literals in the first argument of
21
+ a method invocation without parenthesis.
22
+ Enabled: true
23
+
24
+ Lint/AssignmentInCondition:
25
+ Description: Don't use assignment in conditions.
26
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#safe-assignment-in-condition
27
+ Enabled: true
28
+ AllowSafeAssignment: true
29
+
30
+ Lint/BlockAlignment:
31
+ Description: 'Align block ends correctly.'
32
+ Enabled: true
33
+
34
+ Lint/CircularArgumentReference:
35
+ Description: "Don't refer to the keyword argument in the default value."
36
+ Enabled: true
37
+
38
+ Lint/ConditionPosition:
39
+ Description: >-
40
+ Checks for condition placed in a confusing position relative to
41
+ the keyword.
42
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#same-line-condition'
43
+ Enabled: true
44
+
45
+ Lint/Debugger:
46
+ Description: 'Check for debugger calls.'
47
+ Enabled: true
48
+
49
+ Lint/DefEndAlignment:
50
+ Description: 'Align ends corresponding to defs correctly.'
51
+ Enabled: true
52
+
53
+ Lint/DeprecatedClassMethods:
54
+ Description: 'Check for deprecated class method calls.'
55
+ Enabled: true
56
+
57
+ Lint/DuplicateMethods:
58
+ Description: 'Check for duplicate methods calls.'
59
+ Enabled: true
60
+
61
+ Lint/EachWithObjectArgument:
62
+ Description: 'Check for immutable argument given to each_with_object.'
63
+ Enabled: true
64
+
65
+ Lint/ElseLayout:
66
+ Description: 'Check for odd code arrangement in an else block.'
67
+ Enabled: true
68
+
69
+ Lint/EmptyEnsure:
70
+ Description: 'Checks for empty ensure block.'
71
+ Enabled: true
72
+
73
+ Lint/EmptyInterpolation:
74
+ Description: 'Checks for empty string interpolation.'
75
+ Enabled: true
76
+
77
+ Lint/EndAlignment:
78
+ Description: 'Align ends correctly.'
79
+ Enabled: true
80
+
81
+ Lint/EndInMethod:
82
+ Description: 'END blocks should not be placed inside method definitions.'
83
+ Enabled: true
84
+
85
+ Lint/EnsureReturn:
86
+ Description: 'Do not use return in an ensure block.'
87
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-return-ensure'
88
+ Enabled: true
89
+
90
+ Lint/Eval:
91
+ Description: 'The use of eval represents a serious security risk.'
92
+ Enabled: true
93
+
94
+ Lint/FormatParameterMismatch:
95
+ Description: 'The number of parameters to format/sprint must match the fields.'
96
+ Enabled: true
97
+
98
+ Lint/HandleExceptions:
99
+ Description: "Don't suppress exception."
100
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#dont-hide-exceptions'
101
+ Enabled: true
102
+
103
+ Lint/InvalidCharacterLiteral:
104
+ Description: >-
105
+ Checks for invalid character literals with a non-escaped
106
+ whitespace character.
107
+ Enabled: true
108
+
109
+ Lint/LiteralInCondition:
110
+ Description: 'Checks of literals used in conditions.'
111
+ Enabled: true
112
+
113
+ Lint/LiteralInInterpolation:
114
+ Description: 'Checks for literals used in interpolation.'
115
+ Enabled: true
116
+
117
+ Lint/Loop:
118
+ Description: >-
119
+ Use Kernel#loop with break rather than begin/end/until or
120
+ begin/end/while for post-loop tests.
121
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#loop-with-break'
122
+ Enabled: true
123
+
124
+ Lint/NestedMethodDefinition:
125
+ Description: 'Do not use nested method definitions.'
126
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-nested-methods'
127
+ Enabled: true
128
+
129
+ Lint/NonLocalExitFromIterator:
130
+ Description: 'Do not use return in iterator to cause non-local exit.'
131
+ Enabled: true
132
+
133
+ Lint/ParenthesesAsGroupedExpression:
134
+ Description: >-
135
+ Checks for method calls with a space before the opening
136
+ parenthesis.
137
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#parens-no-spaces'
138
+ Enabled: true
139
+
140
+ Lint/RequireParentheses:
141
+ Description: >-
142
+ Use parentheses in the method call to avoid confusion
143
+ about precedence.
144
+ Enabled: true
145
+
146
+ Lint/RescueException:
147
+ Description: 'Avoid rescuing the Exception class.'
148
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-blind-rescues'
149
+ Enabled: true
150
+
151
+ Lint/ShadowingOuterLocalVariable:
152
+ Description: >-
153
+ Do not use the same name as outer local variable
154
+ for block arguments or block local variables.
155
+ Enabled: true
156
+
157
+ Lint/StringConversionInInterpolation:
158
+ Description: 'Checks for Object#to_s usage in string interpolation.'
159
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-to-s'
160
+ Enabled: true
161
+
162
+ Lint/UnderscorePrefixedVariableName:
163
+ Description: 'Do not use prefix `_` for a variable that is used.'
164
+ Enabled: true
165
+
166
+ Lint/UnneededDisable:
167
+ Description: >-
168
+ Checks for rubocop:disable comments that can be removed.
169
+ Note: this cop is not disabled when disabling all cops.
170
+ It must be explicitly disabled.
171
+ Enabled: true
172
+
173
+ Lint/UnusedBlockArgument:
174
+ Description: 'Checks for unused block arguments.'
175
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars'
176
+ Enabled: true
177
+
178
+ Lint/UnusedMethodArgument:
179
+ Description: 'Checks for unused method arguments.'
180
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars'
181
+ Enabled: true
182
+
183
+ Lint/UnreachableCode:
184
+ Description: 'Unreachable code.'
185
+ Enabled: true
186
+
187
+ Lint/UselessAccessModifier:
188
+ Description: 'Checks for useless access modifiers.'
189
+ Enabled: true
190
+
191
+ Lint/UselessAssignment:
192
+ Description: 'Checks for useless assignment to a local variable.'
193
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars'
194
+ Enabled: true
195
+
196
+ Lint/UselessComparison:
197
+ Description: 'Checks for comparison of something with itself.'
198
+ Enabled: true
199
+
200
+ Lint/UselessElseWithoutRescue:
201
+ Description: 'Checks for useless `else` in `begin..end` without `rescue`.'
202
+ Enabled: true
203
+
204
+ Lint/UselessSetterCall:
205
+ Description: 'Checks for useless setter call to a local variable.'
206
+ Enabled: true
207
+
208
+ Lint/Void:
209
+ Description: 'Possible use of operator/literal/variable in void context.'
210
+ Enabled: true
211
+
212
+ ###################### Metrics ####################################
213
+
214
+ Metrics/AbcSize:
215
+ Description: 'A calculated magnitude based on number of assignments, branches, and conditions.'
216
+ Enabled: false
217
+ Max: 15
218
+
219
+ Metrics/BlockNesting:
220
+ Description: 'Avoid excessive block nesting'
221
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#three-is-the-number-thou-shalt-count'
222
+ Enabled: true
223
+ Max: 4
224
+
225
+ Metrics/ClassLength:
226
+ Description: Avoid classes longer than 100 lines of code.
227
+ Enabled: false
228
+ CountComments: false
229
+ Max: 100
230
+
231
+ Metrics/CyclomaticComplexity:
232
+ Description: A complexity metric that is strongly correlated to the number of test
233
+ cases needed to validate a method.
234
+ Enabled: false
235
+ Max: 6
236
+
237
+ Metrics/LineLength:
238
+ Description: 'Limit lines to 80 characters.'
239
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#80-character-limits'
240
+ Enabled: false
241
+
242
+ Metrics/MethodLength:
243
+ Description: Avoid methods longer than 10 lines of code.
244
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#short-methods
245
+ Enabled: false
246
+ CountComments: false
247
+ Max: 10
248
+
249
+ Metrics/ModuleLength:
250
+ Description: 'Avoid modules longer than 250 lines of code.'
251
+ Enabled: true
252
+ Max: 250
253
+
254
+ Metrics/ParameterLists:
255
+ Description: 'Avoid parameter lists longer than three or four parameters.'
256
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#too-many-params'
257
+ Enabled: true
258
+ Max: 5
259
+ CountKeywordArgs: true
260
+
261
+ Metrics/PerceivedComplexity:
262
+ Description: A complexity metric geared towards measuring complexity for a human
263
+ reader.
264
+ Enabled: false
265
+ Max: 7
266
+
267
+ ##################### Performance #############################
268
+
269
+ Performance/Count:
270
+ Description: >-
271
+ Use `count` instead of `select...size`, `reject...size`,
272
+ `select...count`, `reject...count`, `select...length`,
273
+ and `reject...length`.
274
+ Enabled: true
275
+
276
+ Performance/Detect:
277
+ Description: >-
278
+ Use `detect` instead of `select.first`, `find_all.first`,
279
+ `select.last`, and `find_all.last`.
280
+ Reference: 'https://github.com/JuanitoFatas/fast-ruby#enumerabledetect-vs-enumerableselectfirst-code'
281
+ Enabled: true
282
+
283
+ Performance/FlatMap:
284
+ Description: >-
285
+ Use `Enumerable#flat_map`
286
+ instead of `Enumerable#map...Array#flatten(1)`
287
+ or `Enumberable#collect..Array#flatten(1)`
288
+ Reference: 'https://github.com/JuanitoFatas/fast-ruby#enumerablemaparrayflatten-vs-enumerableflat_map-code'
289
+ Enabled: true
290
+ EnabledForFlattenWithoutParams: false
291
+ # If enabled, this cop will warn about usages of
292
+ # `flatten` being called without any parameters.
293
+ # This can be dangerous since `flat_map` will only flatten 1 level, and
294
+ # `flatten` without any parameters can flatten multiple levels.
295
+
296
+ Performance/ReverseEach:
297
+ Description: 'Use `reverse_each` instead of `reverse.each`.'
298
+ Reference: 'https://github.com/JuanitoFatas/fast-ruby#enumerablereverseeach-vs-enumerablereverse_each-code'
299
+ Enabled: true
300
+
301
+ Performance/Sample:
302
+ Description: >-
303
+ Use `sample` instead of `shuffle.first`,
304
+ `shuffle.last`, and `shuffle[Fixnum]`.
305
+ Reference: 'https://github.com/JuanitoFatas/fast-ruby#arrayshufflefirst-vs-arraysample-code'
306
+ Enabled: true
307
+
308
+ Performance/Size:
309
+ Description: >-
310
+ Use `size` instead of `count` for counting
311
+ the number of elements in `Array` and `Hash`.
312
+ Reference: 'https://github.com/JuanitoFatas/fast-ruby#arraycount-vs-arraysize-code'
313
+ Enabled: true
314
+
315
+ Performance/StringReplacement:
316
+ Description: >-
317
+ Use `tr` instead of `gsub` when you are replacing the same
318
+ number of characters. Use `delete` instead of `gsub` when
319
+ you are deleting characters.
320
+ Reference: 'https://github.com/JuanitoFatas/fast-ruby#stringgsub-vs-stringtr-code'
321
+ Enabled: true
322
+
323
+ ##################### Rails ##################################
324
+
325
+ Rails/ActionFilter:
326
+ Description: 'Enforces consistent use of action filter methods.'
327
+ Enabled: false
328
+
329
+ Rails/Date:
330
+ Description: >-
331
+ Checks the correct usage of date aware methods,
332
+ such as Date.today, Date.current etc.
333
+ Enabled: false
334
+
335
+ Rails/Delegate:
336
+ Description: 'Prefer delegate method for delegations.'
337
+ Enabled: false
338
+
339
+ Rails/FindBy:
340
+ Description: 'Prefer find_by over where.first.'
341
+ Enabled: false
342
+
343
+ Rails/FindEach:
344
+ Description: 'Prefer all.find_each over all.find.'
345
+ Enabled: false
346
+
347
+ Rails/HasAndBelongsToMany:
348
+ Description: 'Prefer has_many :through to has_and_belongs_to_many.'
349
+ Enabled: false
350
+
351
+ Rails/Output:
352
+ Description: 'Checks for calls to puts, print, etc.'
353
+ Enabled: false
354
+
355
+ Rails/ReadWriteAttribute:
356
+ Description: >-
357
+ Checks for read_attribute(:attr) and
358
+ write_attribute(:attr, val).
359
+ Enabled: false
360
+
361
+ Rails/ScopeArgs:
362
+ Description: 'Checks the arguments of ActiveRecord scopes.'
363
+ Enabled: false
364
+
365
+ Rails/TimeZone:
366
+ Description: 'Checks the correct usage of time zone aware methods.'
367
+ StyleGuide: 'https://github.com/bbatsov/rails-style-guide#time'
368
+ Reference: 'http://danilenko.org/2012/7/6/rails_timezones'
369
+ Enabled: false
370
+
371
+ Rails/Validation:
372
+ Description: 'Use validates :attribute, hash of validations.'
373
+ Enabled: false
374
+
375
+ ################## Style #################################
376
+
377
+ Style/AccessModifierIndentation:
378
+ Description: Check indentation of private/protected visibility modifiers.
379
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#indent-public-private-protected'
380
+ Enabled: false
381
+
382
+ Style/AccessorMethodName:
383
+ Description: Check the naming of accessor methods for get_/set_.
384
+ Enabled: false
385
+
386
+ Style/Alias:
387
+ Description: 'Use alias_method instead of alias.'
388
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#alias-method'
389
+ Enabled: false
390
+
391
+ Style/AlignArray:
392
+ Description: >-
393
+ Align the elements of an array literal if they span more than
394
+ one line.
395
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#align-multiline-arrays'
396
+ Enabled: false
397
+
398
+ Style/AlignHash:
399
+ Description: >-
400
+ Align the elements of a hash literal if they span more than
401
+ one line.
402
+ Enabled: false
403
+
404
+ Style/AlignParameters:
405
+ Description: >-
406
+ Align the parameters of a method call if they span more
407
+ than one line.
408
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-double-indent'
409
+ Enabled: false
410
+
411
+ Style/AndOr:
412
+ Description: 'Use &&/|| instead of and/or.'
413
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-and-or-or'
414
+ Enabled: false
415
+
416
+ Style/ArrayJoin:
417
+ Description: 'Use Array#join instead of Array#*.'
418
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#array-join'
419
+ Enabled: false
420
+
421
+ Style/AsciiComments:
422
+ Description: 'Use only ascii symbols in comments.'
423
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#english-comments'
424
+ Enabled: false
425
+
426
+ Style/AsciiIdentifiers:
427
+ Description: 'Use only ascii symbols in identifiers.'
428
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#english-identifiers'
429
+ Enabled: false
430
+
431
+ Style/Attr:
432
+ Description: 'Checks for uses of Module#attr.'
433
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#attr'
434
+ Enabled: false
435
+
436
+ Style/BeginBlock:
437
+ Description: 'Avoid the use of BEGIN blocks.'
438
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-BEGIN-blocks'
439
+ Enabled: false
440
+
441
+ Style/BarePercentLiterals:
442
+ Description: 'Checks if usage of %() or %Q() matches configuration.'
443
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#percent-q-shorthand'
444
+ Enabled: false
445
+
446
+ Style/BlockComments:
447
+ Description: 'Do not use block comments.'
448
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-block-comments'
449
+ Enabled: false
450
+
451
+ Style/BlockEndNewline:
452
+ Description: 'Put end statement of multiline block on its own line.'
453
+ Enabled: false
454
+
455
+ Style/BlockDelimiters:
456
+ Description: >-
457
+ Avoid using {...} for multi-line blocks (multiline chaining is
458
+ always ugly).
459
+ Prefer {...} over do...end for single-line blocks.
460
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#single-line-blocks'
461
+ Enabled: false
462
+
463
+ Style/BracesAroundHashParameters:
464
+ Description: 'Enforce braces style around hash parameters.'
465
+ Enabled: false
466
+
467
+ Style/CaseEquality:
468
+ Description: 'Avoid explicit use of the case equality operator(===).'
469
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-case-equality'
470
+ Enabled: false
471
+
472
+ Style/CaseIndentation:
473
+ Description: 'Indentation of when in a case/when/[else/]end.'
474
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#indent-when-to-case'
475
+ Enabled: false
476
+
477
+ Style/CharacterLiteral:
478
+ Description: 'Checks for uses of character literals.'
479
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-character-literals'
480
+ Enabled: false
481
+
482
+ Style/ClassAndModuleCamelCase:
483
+ Description: 'Use CamelCase for classes and modules.'
484
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#camelcase-classes'
485
+ Enabled: false
486
+
487
+ Style/ClassAndModuleChildren:
488
+ Description: 'Checks style of children classes and modules.'
489
+ Enabled: false
490
+
491
+ Style/ClassCheck:
492
+ Description: 'Enforces consistent use of `Object#is_a?` or `Object#kind_of?`.'
493
+ Enabled: false
494
+
495
+ Style/ClassMethods:
496
+ Description: 'Use self when defining module/class methods.'
497
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#def-self-class-methods'
498
+ Enabled: false
499
+
500
+ Style/ClassVars:
501
+ Description: 'Avoid the use of class variables.'
502
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-class-vars'
503
+ Enabled: false
504
+
505
+ Style/ClosingParenthesisIndentation:
506
+ Description: 'Checks the indentation of hanging closing parentheses.'
507
+ Enabled: false
508
+
509
+ Style/CollectionMethods:
510
+ Description: Preferred collection methods.
511
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#map-find-select-reduce-size'
512
+ Enabled: true
513
+ PreferredMethods:
514
+ collect: map
515
+ collect!: map!
516
+ find: detect
517
+ find_all: select
518
+ reduce: inject
519
+
520
+ Style/ColonMethodCall:
521
+ Description: 'Do not use :: for method call.'
522
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#double-colons'
523
+ Enabled: false
524
+
525
+ Style/CommandLiteral:
526
+ Description: 'Use `` or %x around command literals.'
527
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#percent-x'
528
+ Enabled: false
529
+
530
+ Style/CommentAnnotation:
531
+ Description: 'Checks formatting of annotation comments.'
532
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#annotate-keywords'
533
+ Enabled: false
534
+
535
+ Style/CommentIndentation:
536
+ Description: 'Indentation of comments.'
537
+ Enabled: false
538
+
539
+ Style/ConstantName:
540
+ Description: 'Constants should use SCREAMING_SNAKE_CASE.'
541
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#screaming-snake-case'
542
+ Enabled: false
543
+
544
+ Style/DefWithParentheses:
545
+ Description: 'Use def with parentheses when there are arguments.'
546
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#method-parens'
547
+ Enabled: false
548
+
549
+ Style/DeprecatedHashMethods:
550
+ Description: 'Checks for use of deprecated Hash methods.'
551
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#hash-key'
552
+ Enabled: false
553
+
554
+ Style/Documentation:
555
+ Description: 'Document classes and non-namespace modules.'
556
+ Enabled: false
557
+
558
+ Style/DotPosition:
559
+ Description: Checks the position of the dot in multi-line method calls.
560
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#consistent-multi-line-chains'
561
+ Enabled: true
562
+ EnforcedStyle: leading
563
+ SupportedStyles:
564
+ - leading
565
+ - trailing
566
+
567
+ Style/DoubleNegation:
568
+ Description: 'Checks for uses of double negation (!!).'
569
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-bang-bang'
570
+ Enabled: false
571
+
572
+ Style/EachWithObject:
573
+ Description: 'Prefer `each_with_object` over `inject` or `reduce`.'
574
+ Enabled: false
575
+
576
+ Style/ElseAlignment:
577
+ Description: 'Align elses and elsifs correctly.'
578
+ Enabled: false
579
+
580
+ Style/EmptyElse:
581
+ Description: 'Avoid empty else-clauses.'
582
+ Enabled: false
583
+
584
+ Style/EmptyLineBetweenDefs:
585
+ Description: 'Use empty lines between defs.'
586
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#empty-lines-between-methods'
587
+ Enabled: false
588
+
589
+ Style/EmptyLines:
590
+ Description: "Don't use several empty lines in a row."
591
+ Enabled: false
592
+
593
+ Style/EmptyLinesAroundAccessModifier:
594
+ Description: "Keep blank lines around access modifiers."
595
+ Enabled: false
596
+
597
+ Style/EmptyLinesAroundBlockBody:
598
+ Description: "Keeps track of empty lines around block bodies."
599
+ Enabled: false
600
+
601
+ Style/EmptyLinesAroundClassBody:
602
+ Description: "Keeps track of empty lines around class bodies."
603
+ Enabled: false
604
+
605
+ Style/EmptyLinesAroundModuleBody:
606
+ Description: "Keeps track of empty lines around module bodies."
607
+ Enabled: false
608
+
609
+ Style/EmptyLinesAroundMethodBody:
610
+ Description: "Keeps track of empty lines around method bodies."
611
+ Enabled: false
612
+
613
+ Style/EmptyLiteral:
614
+ Description: 'Prefer literals to Array.new/Hash.new/String.new.'
615
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#literal-array-hash'
616
+ Enabled: false
617
+
618
+ Style/EndBlock:
619
+ Description: 'Avoid the use of END blocks.'
620
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-END-blocks'
621
+ Enabled: false
622
+
623
+ Style/EndOfLine:
624
+ Description: 'Use Unix-style line endings.'
625
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#crlf'
626
+ Enabled: false
627
+
628
+ Style/EvenOdd:
629
+ Description: 'Favor the use of Fixnum#even? && Fixnum#odd?'
630
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#predicate-methods'
631
+ Enabled: false
632
+
633
+ Style/ExtraSpacing:
634
+ Description: 'Do not use unnecessary spacing.'
635
+ Enabled: false
636
+
637
+ Style/FileName:
638
+ Description: Use snake_case for source file names.
639
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#snake-case-files'
640
+ Enabled: false
641
+ Exclude: []
642
+
643
+ Style/InitialIndentation:
644
+ Description: >-
645
+ Checks the indentation of the first non-blank non-comment line in a file.
646
+ Enabled: false
647
+
648
+ Style/FirstParameterIndentation:
649
+ Description: 'Checks the indentation of the first parameter in a method call.'
650
+ Enabled: false
651
+
652
+ Style/FlipFlop:
653
+ Description: 'Checks for flip flops'
654
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-flip-flops'
655
+ Enabled: false
656
+
657
+ Style/For:
658
+ Description: 'Checks use of for or each in multiline loops.'
659
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-for-loops'
660
+ Enabled: false
661
+
662
+ Style/FormatString:
663
+ Description: 'Enforce the use of Kernel#sprintf, Kernel#format or String#%.'
664
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#sprintf'
665
+ Enabled: false
666
+
667
+ Style/GlobalVars:
668
+ Description: 'Do not introduce global variables.'
669
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#instance-vars'
670
+ Reference: 'http://www.zenspider.com/Languages/Ruby/QuickRef.html'
671
+ Enabled: false
672
+
673
+ Style/GuardClause:
674
+ Description: 'Check for conditionals that can be replaced with guard clauses'
675
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals'
676
+ Enabled: false
677
+ MinBodyLength: 1
678
+
679
+ Style/HashSyntax:
680
+ Description: >-
681
+ Prefer Ruby 1.9 hash syntax { a: 1, b: 2 } over 1.8 syntax
682
+ { :a => 1, :b => 2 }.
683
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#hash-literals'
684
+ Enabled: false
685
+
686
+ Style/IfUnlessModifier:
687
+ Description: 'Favor modifier if/unless usage when you have a single-line body.'
688
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#if-as-a-modifier'
689
+ Enabled: false
690
+ MaxLineLength: 80
691
+
692
+ Style/IfWithSemicolon:
693
+ Description: 'Do not use if x; .... Use the ternary operator instead.'
694
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-semicolon-ifs'
695
+ Enabled: false
696
+
697
+ Style/IndentationConsistency:
698
+ Description: 'Keep indentation straight.'
699
+ Enabled: false
700
+
701
+ Style/IndentationWidth:
702
+ Description: 'Use 2 spaces for indentation.'
703
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-indentation'
704
+ Enabled: false
705
+
706
+ Style/IndentArray:
707
+ Description: >-
708
+ Checks the indentation of the first element in an array
709
+ literal.
710
+ Enabled: false
711
+
712
+ Style/IndentHash:
713
+ Description: 'Checks the indentation of the first key in a hash literal.'
714
+ Enabled: false
715
+
716
+ Style/InfiniteLoop:
717
+ Description: 'Use Kernel#loop for infinite loops.'
718
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#infinite-loop'
719
+ Enabled: false
720
+
721
+ Style/InlineComment:
722
+ Description: Avoid inline comments.
723
+ Enabled: false
724
+
725
+ Style/Lambda:
726
+ Description: 'Use the new lambda literal syntax for single-line blocks.'
727
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#lambda-multi-line'
728
+ Enabled: false
729
+
730
+ Style/LambdaCall:
731
+ Description: 'Use lambda.call(...) instead of lambda.(...).'
732
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#proc-call'
733
+ Enabled: false
734
+
735
+ Style/LeadingCommentSpace:
736
+ Description: 'Comments should start with a space.'
737
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#hash-space'
738
+ Enabled: false
739
+
740
+ Style/LineEndConcatenation:
741
+ Description: >-
742
+ Use \ instead of + or << to concatenate two string literals at
743
+ line end.
744
+ Enabled: false
745
+
746
+ Style/MethodCallParentheses:
747
+ Description: 'Do not use parentheses for method calls with no arguments.'
748
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-args-no-parens'
749
+ Enabled: false
750
+
751
+ Style/MethodDefParentheses:
752
+ Description: >-
753
+ Checks if the method definitions have or don't have
754
+ parentheses.
755
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#method-parens'
756
+ Enabled: false
757
+
758
+ Style/MethodName:
759
+ Description: 'Use the configured style when naming methods.'
760
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#snake-case-symbols-methods-vars'
761
+ Enabled: false
762
+
763
+ Style/ModuleFunction:
764
+ Description: 'Checks for usage of `extend self` in modules.'
765
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#module-function'
766
+ Enabled: false
767
+
768
+ Style/MultilineBlockChain:
769
+ Description: 'Avoid multi-line chains of blocks.'
770
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#single-line-blocks'
771
+ Enabled: false
772
+
773
+ Style/MultilineBlockLayout:
774
+ Description: 'Ensures newlines after multiline block do statements.'
775
+ Enabled: false
776
+
777
+ Style/MultilineIfThen:
778
+ Description: 'Do not use then for multi-line if/unless.'
779
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-then'
780
+ Enabled: false
781
+
782
+ Style/MultilineOperationIndentation:
783
+ Description: >-
784
+ Checks indentation of binary operations that span more than
785
+ one line.
786
+ Enabled: false
787
+
788
+ Style/MultilineTernaryOperator:
789
+ Description: >-
790
+ Avoid multi-line ?: (the ternary operator);
791
+ use if/unless instead.
792
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-multiline-ternary'
793
+ Enabled: false
794
+
795
+ Style/NegatedIf:
796
+ Description: >-
797
+ Favor unless over if for negative conditions
798
+ (or control flow or).
799
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#unless-for-negatives'
800
+ Enabled: false
801
+
802
+ Style/NegatedWhile:
803
+ Description: 'Favor until over while for negative conditions.'
804
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#until-for-negatives'
805
+ Enabled: false
806
+
807
+ Style/NestedTernaryOperator:
808
+ Description: 'Use one expression per branch in a ternary operator.'
809
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-nested-ternary'
810
+ Enabled: false
811
+
812
+ Style/Next:
813
+ Description: 'Use `next` to skip iteration instead of a condition at the end.'
814
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals'
815
+ Enabled: false
816
+
817
+ Style/NilComparison:
818
+ Description: 'Prefer x.nil? to x == nil.'
819
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#predicate-methods'
820
+ Enabled: false
821
+
822
+ Style/NonNilCheck:
823
+ Description: 'Checks for redundant nil checks.'
824
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-non-nil-checks'
825
+ Enabled: false
826
+
827
+ Style/Not:
828
+ Description: 'Use ! instead of not.'
829
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#bang-not-not'
830
+ Enabled: false
831
+
832
+ Style/NumericLiterals:
833
+ Description: >-
834
+ Add underscores to large numeric literals to improve their
835
+ readability.
836
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#underscores-in-numerics'
837
+ Enabled: false
838
+
839
+ Style/OneLineConditional:
840
+ Description: >-
841
+ Favor the ternary operator(?:) over
842
+ if/then/else/end constructs.
843
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#ternary-operator'
844
+ Enabled: false
845
+
846
+ Style/OpMethod:
847
+ Description: 'When defining binary operators, name the argument other.'
848
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#other-arg'
849
+ Enabled: false
850
+
851
+ Style/OptionHash:
852
+ Description: "Don't use option hashes when you can use keyword arguments."
853
+ Enabled: false
854
+
855
+ Style/OptionalArguments:
856
+ Description: >-
857
+ Checks for optional arguments that do not appear at the end
858
+ of the argument list
859
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#optional-arguments'
860
+ Enabled: false
861
+
862
+ Style/ParallelAssignment:
863
+ Description: >-
864
+ Check for simple usages of parallel assignment.
865
+ It will only warn when the number of variables
866
+ matches on both sides of the assignment.
867
+ This also provides performance benefits
868
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#parallel-assignment'
869
+ Enabled: false
870
+
871
+ Style/ParenthesesAroundCondition:
872
+ Description: >-
873
+ Don't use parentheses around the condition of an
874
+ if/unless/while.
875
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-parens-if'
876
+ Enabled: false
877
+
878
+ Style/PercentLiteralDelimiters:
879
+ Description: 'Use `%`-literal delimiters consistently'
880
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#percent-literal-braces'
881
+ Enabled: false
882
+ PreferredDelimiters:
883
+ "%": "()"
884
+ "%i": "()"
885
+ "%q": "()"
886
+ "%Q": "()"
887
+ "%r": "{}"
888
+ "%s": "()"
889
+ "%w": "()"
890
+ "%W": "()"
891
+ "%x": "()"
892
+
893
+ Style/PercentQLiterals:
894
+ Description: 'Checks if uses of %Q/%q match the configured preference.'
895
+ Enabled: false
896
+
897
+ Style/PerlBackrefs:
898
+ Description: 'Avoid Perl-style regex back references.'
899
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-perl-regexp-last-matchers'
900
+ Enabled: false
901
+
902
+ Style/PredicateName:
903
+ Description: 'Check the names of predicate methods.'
904
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#bool-methods-qmark'
905
+ Enabled: true
906
+ NamePrefix:
907
+ - is_
908
+ - has_
909
+ - have_
910
+ NamePrefixBlacklist:
911
+ - is_
912
+ Exclude:
913
+ - spec/**/*
914
+
915
+ Style/Proc:
916
+ Description: 'Use proc instead of Proc.new.'
917
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#proc'
918
+ Enabled: false
919
+
920
+ Style/RaiseArgs:
921
+ Description: Checks the arguments passed to raise/fail.
922
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#exception-class-messages
923
+ Enabled: false
924
+ EnforcedStyle: exploded
925
+ SupportedStyles:
926
+ - compact
927
+ - exploded
928
+
929
+ Style/RedundantBegin:
930
+ Description: "Don't use begin blocks when they are not needed."
931
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#begin-implicit'
932
+ Enabled: false
933
+
934
+ Style/RedundantException:
935
+ Description: "Checks for an obsolete RuntimeException argument in raise/fail."
936
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-explicit-runtimeerror'
937
+ Enabled: false
938
+
939
+ Style/RedundantReturn:
940
+ Description: "Don't use return where it's not required."
941
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-explicit-return'
942
+ Enabled: false
943
+
944
+ Style/RedundantSelf:
945
+ Description: "Don't use self where it's not needed."
946
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-self-unless-required'
947
+ Enabled: false
948
+
949
+ Style/RegexpLiteral:
950
+ Description: 'Use / or %r around regular expressions.'
951
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#percent-r'
952
+ Enabled: false
953
+
954
+ Style/RescueEnsureAlignment:
955
+ Description: 'Align rescues and ensures correctly.'
956
+ Enabled: false
957
+
958
+ Style/RescueModifier:
959
+ Description: 'Avoid using rescue in its modifier form.'
960
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-rescue-modifiers'
961
+ Enabled: false
962
+
963
+ Style/SelfAssignment:
964
+ Description: >-
965
+ Checks for places where self-assignment shorthand should have
966
+ been used.
967
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#self-assignment'
968
+ Enabled: false
969
+
970
+ Style/Semicolon:
971
+ Description: "Don't use semicolons to terminate expressions."
972
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-semicolon'
973
+ Enabled: false
974
+
975
+ Style/Send:
976
+ Description: Prefer `Object#__send__` or `Object#public_send` to `send`, as `send`
977
+ may overlap with existing methods.
978
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#prefer-public-send
979
+ Enabled: false
980
+
981
+ Style/SignalException:
982
+ Description: 'Checks for proper usage of fail and raise.'
983
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#fail-method'
984
+ Enabled: false
985
+ EnforcedStyle: semantic
986
+ SupportedStyles:
987
+ - only_raise
988
+ - only_fail
989
+ - semantic
990
+
991
+ Style/SingleLineBlockParams:
992
+ Description: 'Enforces the names of some block params.'
993
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#reduce-blocks'
994
+ Enabled: false
995
+ Methods:
996
+ - reduce:
997
+ - a
998
+ - e
999
+ - inject:
1000
+ - a
1001
+ - e
1002
+
1003
+ Style/SingleLineMethods:
1004
+ Description: 'Avoid single-line methods.'
1005
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-single-line-methods'
1006
+ Enabled: false
1007
+ AllowIfMethodIsEmpty: true
1008
+
1009
+ Style/SpaceBeforeFirstArg:
1010
+ Description: >-
1011
+ Checks that exactly one space is used between a method name
1012
+ and the first argument for method calls without parentheses.
1013
+ Enabled: true
1014
+
1015
+ Style/SpaceAfterColon:
1016
+ Description: 'Use spaces after colons.'
1017
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-operators'
1018
+ Enabled: false
1019
+
1020
+ Style/SpaceAfterComma:
1021
+ Description: 'Use spaces after commas.'
1022
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-operators'
1023
+ Enabled: false
1024
+
1025
+ Style/SpaceAroundKeyword:
1026
+ Description: 'Use spaces around keywords.'
1027
+ Enabled: false
1028
+
1029
+ Style/SpaceAfterMethodName:
1030
+ Description: >-
1031
+ Do not put a space between a method name and the opening
1032
+ parenthesis in a method definition.
1033
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#parens-no-spaces'
1034
+ Enabled: false
1035
+
1036
+ Style/SpaceAfterNot:
1037
+ Description: Tracks redundant space after the ! operator.
1038
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-space-bang'
1039
+ Enabled: false
1040
+
1041
+ Style/SpaceAfterSemicolon:
1042
+ Description: 'Use spaces after semicolons.'
1043
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-operators'
1044
+ Enabled: false
1045
+
1046
+ Style/SpaceBeforeBlockBraces:
1047
+ Description: >-
1048
+ Checks that the left block brace has or doesn't have space
1049
+ before it.
1050
+ Enabled: false
1051
+
1052
+ Style/SpaceBeforeComma:
1053
+ Description: 'No spaces before commas.'
1054
+ Enabled: false
1055
+
1056
+ Style/SpaceBeforeComment:
1057
+ Description: >-
1058
+ Checks for missing space between code and a comment on the
1059
+ same line.
1060
+ Enabled: false
1061
+
1062
+ Style/SpaceBeforeSemicolon:
1063
+ Description: 'No spaces before semicolons.'
1064
+ Enabled: false
1065
+
1066
+ Style/SpaceInsideBlockBraces:
1067
+ Description: >-
1068
+ Checks that block braces have or don't have surrounding space.
1069
+ For blocks taking parameters, checks that the left brace has
1070
+ or doesn't have trailing space.
1071
+ Enabled: false
1072
+
1073
+ Style/SpaceAroundBlockParameters:
1074
+ Description: 'Checks the spacing inside and after block parameters pipes.'
1075
+ Enabled: false
1076
+
1077
+ Style/SpaceAroundEqualsInParameterDefault:
1078
+ Description: >-
1079
+ Checks that the equals signs in parameter default assignments
1080
+ have or don't have surrounding space depending on
1081
+ configuration.
1082
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-around-equals'
1083
+ Enabled: false
1084
+
1085
+ Style/SpaceAroundOperators:
1086
+ Description: 'Use a single space around operators.'
1087
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-operators'
1088
+ Enabled: false
1089
+
1090
+ Style/SpaceInsideBrackets:
1091
+ Description: 'No spaces after [ or before ].'
1092
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-spaces-braces'
1093
+ Enabled: false
1094
+
1095
+ Style/SpaceInsideHashLiteralBraces:
1096
+ Description: "Use spaces inside hash literal braces - or don't."
1097
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-operators'
1098
+ Enabled: false
1099
+
1100
+ Style/SpaceInsideParens:
1101
+ Description: 'No spaces after ( or before ).'
1102
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-spaces-braces'
1103
+ Enabled: false
1104
+
1105
+ Style/SpaceInsideRangeLiteral:
1106
+ Description: 'No spaces inside range literals.'
1107
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-space-inside-range-literals'
1108
+ Enabled: false
1109
+
1110
+ Style/SpaceInsideStringInterpolation:
1111
+ Description: 'Checks for padding/surrounding spaces inside string interpolation.'
1112
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#string-interpolation'
1113
+ Enabled: false
1114
+
1115
+ Style/SpecialGlobalVars:
1116
+ Description: 'Avoid Perl-style global variables.'
1117
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-cryptic-perlisms'
1118
+ Enabled: false
1119
+
1120
+ Style/StringLiterals:
1121
+ Description: Checks if uses of quotes match the configured preference.
1122
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-string-literals
1123
+ Enabled: true
1124
+ EnforcedStyle: single_quotes
1125
+ SupportedStyles:
1126
+ - single_quotes
1127
+ - double_quotes
1128
+
1129
+ Style/StringLiteralsInInterpolation:
1130
+ Description: Checks if uses of quotes inside expressions in interpolated strings
1131
+ match the configured preference.
1132
+ Enabled: true
1133
+ EnforcedStyle: single_quotes
1134
+ SupportedStyles:
1135
+ - single_quotes
1136
+ - double_quotes
1137
+
1138
+ Style/StructInheritance:
1139
+ Description: 'Checks for inheritance from Struct.new.'
1140
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-extend-struct-new'
1141
+ Enabled: false
1142
+
1143
+ Style/SymbolLiteral:
1144
+ Description: 'Use plain symbols instead of string symbols when possible.'
1145
+ Enabled: false
1146
+
1147
+ Style/SymbolProc:
1148
+ Description: 'Use symbols as procs instead of blocks when possible.'
1149
+ Enabled: false
1150
+
1151
+ Style/Tab:
1152
+ Description: 'No hard tabs.'
1153
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-indentation'
1154
+ Enabled: false
1155
+
1156
+ Style/TrailingBlankLines:
1157
+ Description: 'Checks trailing blank lines and final newline.'
1158
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#newline-eof'
1159
+ Enabled: false
1160
+
1161
+ Style/TrailingCommaInArguments:
1162
+ Description: 'Checks for trailing comma in argument lists.'
1163
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas'
1164
+ Enabled: false
1165
+ EnforcedStyleForMultiline: no_comma
1166
+ SupportedStyles:
1167
+ - comma
1168
+ - consistent_comma
1169
+ - no_comma
1170
+
1171
+ Style/TrailingCommaInLiteral:
1172
+ Description: 'Checks for trailing comma in array and hash literals.'
1173
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas'
1174
+ Enabled: false
1175
+ EnforcedStyleForMultiline: no_comma
1176
+ SupportedStyles:
1177
+ - comma
1178
+ - consistent_comma
1179
+ - no_comma
1180
+
1181
+ Style/TrailingWhitespace:
1182
+ Description: 'Avoid trailing whitespace.'
1183
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-whitespace'
1184
+ Enabled: false
1185
+
1186
+ Style/TrivialAccessors:
1187
+ Description: 'Prefer attr_* methods to trivial readers/writers.'
1188
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#attr_family'
1189
+ Enabled: false
1190
+
1191
+ Style/UnlessElse:
1192
+ Description: >-
1193
+ Do not use unless with else. Rewrite these with the positive
1194
+ case first.
1195
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-else-with-unless'
1196
+ Enabled: false
1197
+
1198
+ Style/UnneededCapitalW:
1199
+ Description: 'Checks for %W when interpolation is not needed.'
1200
+ Enabled: false
1201
+
1202
+ Style/UnneededPercentQ:
1203
+ Description: 'Checks for %q/%Q when single quotes or double quotes would do.'
1204
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#percent-q'
1205
+ Enabled: false
1206
+
1207
+ Style/TrailingUnderscoreVariable:
1208
+ Description: >-
1209
+ Checks for the usage of unneeded trailing underscores at the
1210
+ end of parallel variable assignment.
1211
+ Enabled: false
1212
+
1213
+ Style/VariableInterpolation:
1214
+ Description: >-
1215
+ Don't interpolate global, instance and class variables
1216
+ directly in strings.
1217
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#curlies-interpolate'
1218
+ Enabled: false
1219
+
1220
+ Style/VariableName:
1221
+ Description: 'Use the configured style when naming variables.'
1222
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#snake-case-symbols-methods-vars'
1223
+ Enabled: false
1224
+
1225
+ Style/WhenThen:
1226
+ Description: 'Use when x then ... for one-line cases.'
1227
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#one-line-cases'
1228
+ Enabled: false
1229
+
1230
+ Style/WhileUntilDo:
1231
+ Description: 'Checks for redundant do after while or until.'
1232
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-multiline-while-do'
1233
+ Enabled: false
1234
+
1235
+ Style/WhileUntilModifier:
1236
+ Description: >-
1237
+ Favor modifier while/until usage when you have a
1238
+ single-line body.
1239
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#while-as-a-modifier'
1240
+ Enabled: false
1241
+
1242
+ Style/WordArray:
1243
+ Description: 'Use %w or %W for arrays of words.'
1244
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#percent-w'
1245
+ Enabled: false