contactually-rb 0.1.1

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