hawatel_search_jobs 0.1.3 → 0.2.0

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