rails-sharding 0.1.0

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