middleman-dato 0.0.1.rc4 → 0.0.1.rc5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0da28344d0666740ad0542a47ad7e5eaa6664ab7
4
- data.tar.gz: f9b66621c1fce387ed4c6e8a26492d55db5dea35
3
+ metadata.gz: e14d758a02eb15d395876951156df3034beda97d
4
+ data.tar.gz: 056d91e67fe1036bdee7480b4025a57f2f3d97d2
5
5
  SHA512:
6
- metadata.gz: f2af843acf07d6a26e83fe984fa3d2bd82f44b86946e99f35a954dda5de3cff4934c92f20aeffc3a1c017cd27b94a179c58af2ca1b09d4935d8f139831846524
7
- data.tar.gz: 544cdb97c8ab97297f3a9310db6679bcd45ce87680fcfec9e48a10f4911f44e02576824ecd97149730108e06e7367160e7c0a7eb4a749a6529ec56a574623463
6
+ metadata.gz: ab72ef81e1a5b9a7cba05f61c8c92b937d3cce8cc02e1dcaea0e1b64eecbf10daf14362df10f676c5804094fbe2856da37531a85001b842938adc03d2ddcde6d
7
+ data.tar.gz: b76fafea5a8af7548b639c91486b2c0131dd5c8a53a398813e63ca29de209a63626645c5c55ae7bb2e7ab72c65db1355161d25b46ce098bf615071c860c44204
data/.gitignore CHANGED
@@ -2,4 +2,7 @@
2
2
  /Gemfile.lock
3
3
 
4
4
  # Ignore pkg folder
5
- /pkg
5
+ /pkg
6
+
7
+ # Ignore coverage report
8
+ /coverage
data/.rubocop.yml ADDED
@@ -0,0 +1,1077 @@
1
+ require: rubocop-rspec
2
+
3
+ AllCops:
4
+ Include:
5
+ - "**/*.gemspec"
6
+ - "**/*.podspec"
7
+ - "**/*.jbuilder"
8
+ - "**/*.rake"
9
+ - "**/*.opal"
10
+ - "**/Gemfile"
11
+ - "**/Rakefile"
12
+ - "**/Capfile"
13
+ - "**/Guardfile"
14
+ - "**/Podfile"
15
+ - "**/Thorfile"
16
+ - "**/Vagrantfile"
17
+ - "**/Berksfile"
18
+ - "**/Cheffile"
19
+ - "**/Vagabondfile"
20
+ Exclude:
21
+ - "vendor/**/*"
22
+ - "db/schema.rb"
23
+ - "temp.rb"
24
+ - "db/seeds.rb"
25
+ - "bin/**/*"
26
+ RunRailsCops: false
27
+ DisplayCopNames: false
28
+ StyleGuideCopsOnly: false
29
+ Style/AccessModifierIndentation:
30
+ Description: Check indentation of private/protected visibility modifiers.
31
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#indent-public-private-protected
32
+ Enabled: true
33
+ EnforcedStyle: indent
34
+ SupportedStyles:
35
+ - outdent
36
+ - indent
37
+ Style/AlignHash:
38
+ Description: Align the elements of a hash literal if they span more than one line.
39
+ Enabled: true
40
+ EnforcedHashRocketStyle: key
41
+ EnforcedColonStyle: key
42
+ EnforcedLastArgumentHashStyle: always_inspect
43
+ SupportedLastArgumentHashStyles:
44
+ - always_inspect
45
+ - always_ignore
46
+ - ignore_implicit
47
+ - ignore_explicit
48
+ Style/AlignParameters:
49
+ Description: Align the parameters of a method call if they span more than one line.
50
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-double-indent
51
+ Enabled: true
52
+ EnforcedStyle: with_fixed_indentation
53
+ SupportedStyles:
54
+ - with_first_parameter
55
+ - with_fixed_indentation
56
+ Style/AndOr:
57
+ Description: Use &&/|| instead of and/or.
58
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-and-or-or
59
+ Enabled: true
60
+ EnforcedStyle: conditionals
61
+ SupportedStyles:
62
+ - always
63
+ - conditionals
64
+ Style/BarePercentLiterals:
65
+ Description: Checks if usage of %() or %Q() matches configuration.
66
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-q-shorthand
67
+ Enabled: true
68
+ EnforcedStyle: bare_percent
69
+ SupportedStyles:
70
+ - percent_q
71
+ - bare_percent
72
+ Style/BracesAroundHashParameters:
73
+ Description: Enforce braces style around hash parameters.
74
+ Enabled: true
75
+ EnforcedStyle: no_braces
76
+ SupportedStyles:
77
+ - braces
78
+ - no_braces
79
+ - context_dependent
80
+ Style/CaseIndentation:
81
+ Description: Indentation of when in a case/when/[else/]end.
82
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#indent-when-to-case
83
+ Enabled: true
84
+ IndentWhenRelativeTo: case
85
+ SupportedStyles:
86
+ - case
87
+ - end
88
+ IndentOneStep: false
89
+ Style/ClassAndModuleChildren:
90
+ Description: Checks style of children classes and modules.
91
+ Enabled: false
92
+ EnforcedStyle: nested
93
+ SupportedStyles:
94
+ - nested
95
+ - compact
96
+ Style/ClassCheck:
97
+ Description: Enforces consistent use of `Object#is_a?` or `Object#kind_of?`.
98
+ Enabled: true
99
+ EnforcedStyle: is_a?
100
+ SupportedStyles:
101
+ - is_a?
102
+ - kind_of?
103
+ Style/CollectionMethods:
104
+ Description: Preferred collection methods.
105
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#map-find-select-reduce-size
106
+ Enabled: true
107
+ PreferredMethods:
108
+ collect: map
109
+ collect!: map!
110
+ find: detect
111
+ find_all: select
112
+ reduce: inject
113
+ Style/CommentAnnotation:
114
+ Description: Checks formatting of special comments (TODO, FIXME, OPTIMIZE, HACK,
115
+ REVIEW).
116
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#annotate-keywords
117
+ Enabled: false
118
+ Keywords:
119
+ - TODO
120
+ - FIXME
121
+ - OPTIMIZE
122
+ - HACK
123
+ - REVIEW
124
+ Style/DotPosition:
125
+ Description: Checks the position of the dot in multi-line method calls.
126
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-multi-line-chains
127
+ Enabled: true
128
+ EnforcedStyle: trailing
129
+ SupportedStyles:
130
+ - leading
131
+ - trailing
132
+ Style/EmptyLineBetweenDefs:
133
+ Description: Use empty lines between defs.
134
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#empty-lines-between-methods
135
+ Enabled: true
136
+ AllowAdjacentOneLineDefs: false
137
+ Style/EmptyLinesAroundBlockBody:
138
+ Description: Keeps track of empty lines around block bodies.
139
+ Enabled: true
140
+ EnforcedStyle: no_empty_lines
141
+ SupportedStyles:
142
+ - empty_lines
143
+ - no_empty_lines
144
+ Style/EmptyLinesAroundClassBody:
145
+ Description: Keeps track of empty lines around class bodies.
146
+ Enabled: true
147
+ EnforcedStyle: no_empty_lines
148
+ SupportedStyles:
149
+ - empty_lines
150
+ - no_empty_lines
151
+ Style/EmptyLinesAroundModuleBody:
152
+ Description: Keeps track of empty lines around module bodies.
153
+ Enabled: true
154
+ EnforcedStyle: no_empty_lines
155
+ SupportedStyles:
156
+ - empty_lines
157
+ - no_empty_lines
158
+ Style/Encoding:
159
+ Description: Use UTF-8 as the source file encoding.
160
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#utf-8
161
+ Enabled: false
162
+ EnforcedStyle: always
163
+ SupportedStyles:
164
+ - when_needed
165
+ - always
166
+ Style/FileName:
167
+ Description: Use snake_case for source file names.
168
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-files
169
+ Enabled: false
170
+ Exclude: []
171
+ Style/FirstParameterIndentation:
172
+ Description: Checks the indentation of the first parameter in a method call.
173
+ Enabled: true
174
+ EnforcedStyle: special_for_inner_method_call_in_parentheses
175
+ SupportedStyles:
176
+ - consistent
177
+ - special_for_inner_method_call
178
+ - special_for_inner_method_call_in_parentheses
179
+ Style/For:
180
+ Description: Checks use of for or each in multiline loops.
181
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-for-loops
182
+ Enabled: true
183
+ EnforcedStyle: each
184
+ SupportedStyles:
185
+ - for
186
+ - each
187
+ Style/FormatString:
188
+ Description: Enforce the use of Kernel#sprintf, Kernel#format or String#%.
189
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#sprintf
190
+ Enabled: false
191
+ EnforcedStyle: format
192
+ SupportedStyles:
193
+ - format
194
+ - sprintf
195
+ - percent
196
+ Style/GlobalVars:
197
+ Description: Do not introduce global variables.
198
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#instance-vars
199
+ Enabled: false
200
+ AllowedVariables: []
201
+ Style/GuardClause:
202
+ Description: Check for conditionals that can be replaced with guard clauses
203
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals
204
+ Enabled: false
205
+ MinBodyLength: 1
206
+ Style/HashSyntax:
207
+ Description: 'Prefer Ruby 1.9 hash syntax { a: 1, b: 2 } over 1.8 syntax { :a =>
208
+ 1, :b => 2 }.'
209
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#hash-literals
210
+ Enabled: true
211
+ EnforcedStyle: ruby19
212
+ SupportedStyles:
213
+ - ruby19
214
+ - hash_rockets
215
+ Style/IfUnlessModifier:
216
+ Description: Favor modifier if/unless usage when you have a single-line body.
217
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#if-as-a-modifier
218
+ Enabled: false
219
+ MaxLineLength: 80
220
+ Style/IndentationWidth:
221
+ Description: Use 2 spaces for indentation.
222
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-indentation
223
+ Enabled: true
224
+ Width: 2
225
+ Style/IndentHash:
226
+ Description: Checks the indentation of the first key in a hash literal.
227
+ Enabled: true
228
+ EnforcedStyle: special_inside_parentheses
229
+ SupportedStyles:
230
+ - special_inside_parentheses
231
+ - consistent
232
+ Style/LambdaCall:
233
+ Description: Use lambda.call(...) instead of lambda.(...).
234
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#proc-call
235
+ Enabled: false
236
+ EnforcedStyle: call
237
+ SupportedStyles:
238
+ - call
239
+ - braces
240
+ Style/Next:
241
+ Description: Use `next` to skip iteration instead of a condition at the end.
242
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals
243
+ Enabled: false
244
+ EnforcedStyle: skip_modifier_ifs
245
+ MinBodyLength: 3
246
+ SupportedStyles:
247
+ - skip_modifier_ifs
248
+ - always
249
+ Style/NonNilCheck:
250
+ Description: Checks for redundant nil checks.
251
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-non-nil-checks
252
+ Enabled: true
253
+ IncludeSemanticChanges: false
254
+ Style/MethodDefParentheses:
255
+ Description: Checks if the method definitions have or don't have parentheses.
256
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#method-parens
257
+ Enabled: true
258
+ EnforcedStyle: require_parentheses
259
+ SupportedStyles:
260
+ - require_parentheses
261
+ - require_no_parentheses
262
+ Style/MethodName:
263
+ Description: Use the configured style when naming methods.
264
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-symbols-methods-vars
265
+ Enabled: true
266
+ EnforcedStyle: snake_case
267
+ SupportedStyles:
268
+ - snake_case
269
+ - camelCase
270
+ Style/MultilineOperationIndentation:
271
+ Description: Checks indentation of binary operations that span more than one line.
272
+ Enabled: true
273
+ EnforcedStyle: aligned
274
+ SupportedStyles:
275
+ - aligned
276
+ - indented
277
+ Style/NumericLiterals:
278
+ Description: Add underscores to large numeric literals to improve their readability.
279
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#underscores-in-numerics
280
+ Enabled: false
281
+ MinDigits: 5
282
+ Style/ParenthesesAroundCondition:
283
+ Description: Don't use parentheses around the condition of an if/unless/while.
284
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-parens-if
285
+ Enabled: true
286
+ AllowSafeAssignment: true
287
+ Style/PercentLiteralDelimiters:
288
+ Description: Use `%`-literal delimiters consistently
289
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-literal-braces
290
+ Enabled: false
291
+ PreferredDelimiters:
292
+ "%": "()"
293
+ "%i": "()"
294
+ "%q": "()"
295
+ "%Q": "()"
296
+ "%r": "{}"
297
+ "%s": "()"
298
+ "%w": "()"
299
+ "%W": "()"
300
+ "%x": "()"
301
+ Style/PercentQLiterals:
302
+ Description: Checks if uses of %Q/%q match the configured preference.
303
+ Enabled: true
304
+ EnforcedStyle: lower_case_q
305
+ SupportedStyles:
306
+ - lower_case_q
307
+ - upper_case_q
308
+ Style/PredicateName:
309
+ Description: Check the names of predicate methods.
310
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#bool-methods-qmark
311
+ Enabled: true
312
+ NamePrefix:
313
+ - is_
314
+ - has_
315
+ - have_
316
+ NamePrefixBlacklist:
317
+ - is_
318
+ Style/RaiseArgs:
319
+ Description: Checks the arguments passed to raise/fail.
320
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#exception-class-messages
321
+ Enabled: false
322
+ EnforcedStyle: exploded
323
+ SupportedStyles:
324
+ - compact
325
+ - exploded
326
+ Style/RedundantReturn:
327
+ Description: Don't use return where it's not required.
328
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-explicit-return
329
+ Enabled: true
330
+ AllowMultipleReturnValues: false
331
+ Style/RegexpLiteral:
332
+ Description: Use %r for regular expressions matching more than `MaxSlashes` '/'
333
+ characters. Use %r only for regular expressions matching more than `MaxSlashes`
334
+ '/' character.
335
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-r
336
+ Enabled: false
337
+ MaxSlashes: 1
338
+ Style/Semicolon:
339
+ Description: Don't use semicolons to terminate expressions.
340
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-semicolon
341
+ Enabled: true
342
+ AllowAsExpressionSeparator: false
343
+ Style/SignalException:
344
+ Description: Checks for proper usage of fail and raise.
345
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#fail-method
346
+ Enabled: false
347
+ EnforcedStyle: semantic
348
+ SupportedStyles:
349
+ - only_raise
350
+ - only_fail
351
+ - semantic
352
+ Style/SingleLineBlockParams:
353
+ Description: Enforces the names of some block params.
354
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#reduce-blocks
355
+ Enabled: false
356
+ Methods:
357
+ - reduce:
358
+ - a
359
+ - e
360
+ - inject:
361
+ - a
362
+ - e
363
+ Style/SingleLineMethods:
364
+ Description: Avoid single-line methods.
365
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-single-line-methods
366
+ Enabled: false
367
+ AllowIfMethodIsEmpty: true
368
+ Style/StringLiterals:
369
+ Description: Checks if uses of quotes match the configured preference.
370
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-string-literals
371
+ Enabled: true
372
+ EnforcedStyle: double_quotes
373
+ SupportedStyles:
374
+ - single_quotes
375
+ - double_quotes
376
+ Style/StringLiteralsInInterpolation:
377
+ Description: Checks if uses of quotes inside expressions in interpolated strings
378
+ match the configured preference.
379
+ Enabled: true
380
+ EnforcedStyle: single_quotes
381
+ SupportedStyles:
382
+ - single_quotes
383
+ - double_quotes
384
+ Style/SpaceAroundBlockParameters:
385
+ Description: Checks the spacing inside and after block parameters pipes.
386
+ Enabled: true
387
+ EnforcedStyleInsidePipes: no_space
388
+ SupportedStyles:
389
+ - space
390
+ - no_space
391
+ Style/SpaceAroundEqualsInParameterDefault:
392
+ Description: Checks that the equals signs in parameter default assignments have
393
+ or don't have surrounding space depending on configuration.
394
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-around-equals
395
+ Enabled: true
396
+ EnforcedStyle: space
397
+ SupportedStyles:
398
+ - space
399
+ - no_space
400
+ Style/SpaceBeforeBlockBraces:
401
+ Description: Checks that the left block brace has or doesn't have space before it.
402
+ Enabled: true
403
+ EnforcedStyle: space
404
+ SupportedStyles:
405
+ - space
406
+ - no_space
407
+ Style/SpaceInsideBlockBraces:
408
+ Description: Checks that block braces have or don't have surrounding space. For
409
+ blocks taking parameters, checks that the left brace has or doesn't have trailing
410
+ space.
411
+ Enabled: true
412
+ EnforcedStyle: space
413
+ SupportedStyles:
414
+ - space
415
+ - no_space
416
+ EnforcedStyleForEmptyBraces: no_space
417
+ SpaceBeforeBlockParameters: true
418
+ Style/SpaceInsideHashLiteralBraces:
419
+ Description: Use spaces inside hash literal braces - or don't.
420
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
421
+ Enabled: true
422
+ EnforcedStyle: space
423
+ EnforcedStyleForEmptyBraces: no_space
424
+ SupportedStyles:
425
+ - space
426
+ - no_space
427
+ Style/SymbolProc:
428
+ Description: Use symbols as procs instead of blocks when possible.
429
+ Enabled: true
430
+ IgnoredMethods:
431
+ - respond_to
432
+ Style/TrailingBlankLines:
433
+ Description: Checks trailing blank lines and final newline.
434
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#newline-eof
435
+ Enabled: true
436
+ EnforcedStyle: final_newline
437
+ SupportedStyles:
438
+ - final_newline
439
+ - final_blank_line
440
+ Style/TrailingComma:
441
+ Description: Checks for trailing comma in parameter lists and literals.
442
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas
443
+ Enabled: false
444
+ EnforcedStyleForMultiline: no_comma
445
+ SupportedStyles:
446
+ - comma
447
+ - no_comma
448
+ Style/TrivialAccessors:
449
+ Description: Prefer attr_* methods to trivial readers/writers.
450
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#attr_family
451
+ Enabled: false
452
+ ExactNameMatch: false
453
+ AllowPredicates: false
454
+ AllowDSLWriters: false
455
+ Whitelist:
456
+ - to_ary
457
+ - to_a
458
+ - to_c
459
+ - to_enum
460
+ - to_h
461
+ - to_hash
462
+ - to_i
463
+ - to_int
464
+ - to_io
465
+ - to_open
466
+ - to_path
467
+ - to_proc
468
+ - to_r
469
+ - to_regexp
470
+ - to_str
471
+ - to_s
472
+ - to_sym
473
+ Style/VariableName:
474
+ Description: Use the configured style when naming variables.
475
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-symbols-methods-vars
476
+ Enabled: true
477
+ EnforcedStyle: snake_case
478
+ SupportedStyles:
479
+ - snake_case
480
+ - camelCase
481
+ Style/WhileUntilModifier:
482
+ Description: Favor modifier while/until usage when you have a single-line body.
483
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#while-as-a-modifier
484
+ Enabled: false
485
+ MaxLineLength: 80
486
+ Style/WordArray:
487
+ Description: Use %w or %W for arrays of words.
488
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-w
489
+ Enabled: false
490
+ MinSize: 0
491
+ WordRegex: !ruby/regexp /\A[\p{Word}]+\z/
492
+ Metrics/AbcSize:
493
+ Description: A calculated magnitude based on number of assignments, branches, and
494
+ conditions.
495
+ Enabled: true
496
+ Max: 16
497
+ Metrics/BlockNesting:
498
+ Description: Avoid excessive block nesting
499
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#three-is-the-number-thou-shalt-count
500
+ Enabled: false
501
+ Max: 3
502
+ Metrics/ClassLength:
503
+ Description: Avoid classes longer than 100 lines of code.
504
+ Enabled: false
505
+ CountComments: false
506
+ Max: 100
507
+ Metrics/CyclomaticComplexity:
508
+ Description: A complexity metric that is strongly correlated to the number of test
509
+ cases needed to validate a method.
510
+ Enabled: false
511
+ Max: 6
512
+ Metrics/LineLength:
513
+ Description: Limit lines to 80 characters.
514
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#80-character-limits
515
+ Enabled: true
516
+ Max: 80
517
+ AllowURI: true
518
+ URISchemes:
519
+ - http
520
+ - https
521
+ Exclude:
522
+ - "spec/**/*"
523
+ Metrics/MethodLength:
524
+ Description: Avoid methods longer than 10 lines of code.
525
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#short-methods
526
+ Enabled: false
527
+ CountComments: false
528
+ Max: 10
529
+ Metrics/ParameterLists:
530
+ Description: Avoid parameter lists longer than three or four parameters.
531
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#too-many-params
532
+ Enabled: false
533
+ Max: 5
534
+ CountKeywordArgs: true
535
+ Metrics/PerceivedComplexity:
536
+ Description: A complexity metric geared towards measuring complexity for a human
537
+ reader.
538
+ Enabled: false
539
+ Max: 7
540
+ Lint/AssignmentInCondition:
541
+ Description: Don't use assignment in conditions.
542
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#safe-assignment-in-condition
543
+ Enabled: false
544
+ AllowSafeAssignment: true
545
+ Lint/EndAlignment:
546
+ Description: Align ends correctly.
547
+ Enabled: true
548
+ AlignWith: keyword
549
+ SupportedStyles:
550
+ - keyword
551
+ - variable
552
+ Lint/DefEndAlignment:
553
+ Description: Align ends corresponding to defs correctly.
554
+ Enabled: true
555
+ AlignWith: start_of_line
556
+ SupportedStyles:
557
+ - start_of_line
558
+ - def
559
+ Rails/ActionFilter:
560
+ Description: Enforces consistent use of action filter methods.
561
+ Enabled: false
562
+ EnforcedStyle: action
563
+ SupportedStyles:
564
+ - action
565
+ - filter
566
+ Include:
567
+ - app/controllers/**/*.rb
568
+ Rails/DefaultScope:
569
+ Description: Checks if the argument passed to default_scope is a block.
570
+ Enabled: true
571
+ Include:
572
+ - app/models/**/*.rb
573
+ Rails/HasAndBelongsToMany:
574
+ Description: Prefer has_many :through to has_and_belongs_to_many.
575
+ Enabled: true
576
+ Include:
577
+ - app/models/**/*.rb
578
+ Rails/Output:
579
+ Description: Checks for calls to puts, print, etc.
580
+ Enabled: true
581
+ Include:
582
+ - app/**/*.rb
583
+ - config/**/*.rb
584
+ - db/**/*.rb
585
+ - lib/**/*.rb
586
+ Rails/ReadWriteAttribute:
587
+ Description: Checks for read_attribute(:attr) and write_attribute(:attr, val).
588
+ Enabled: true
589
+ Include:
590
+ - app/models/**/*.rb
591
+ Rails/ScopeArgs:
592
+ Description: Checks the arguments of ActiveRecord scopes.
593
+ Enabled: true
594
+ Include:
595
+ - app/models/**/*.rb
596
+ Rails/Validation:
597
+ Description: Use validates :attribute, hash of validations.
598
+ Enabled: true
599
+ Include:
600
+ - app/models/**/*.rb
601
+ Style/InlineComment:
602
+ Description: Avoid inline comments.
603
+ Enabled: false
604
+ Style/MethodCalledOnDoEndBlock:
605
+ Description: Avoid chaining a method call on a do...end block.
606
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#single-line-blocks
607
+ Enabled: false
608
+ Style/SymbolArray:
609
+ Description: Use %i or %I for arrays of symbols.
610
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-i
611
+ Enabled: false
612
+ Style/ExtraSpacing:
613
+ Description: Do not use unnecessary spacing.
614
+ Enabled: true
615
+ Style/AccessorMethodName:
616
+ Description: Check the naming of accessor methods for get_/set_.
617
+ Enabled: false
618
+ Style/Alias:
619
+ Description: Use alias_method instead of alias.
620
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#alias-method
621
+ Enabled: false
622
+ Style/AlignArray:
623
+ Description: Align the elements of an array literal if they span more than one line.
624
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#align-multiline-arrays
625
+ Enabled: true
626
+ Style/ArrayJoin:
627
+ Description: Use Array#join instead of Array#*.
628
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#array-join
629
+ Enabled: false
630
+ Style/AsciiComments:
631
+ Description: Use only ascii symbols in comments.
632
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#english-comments
633
+ Enabled: false
634
+ Style/AsciiIdentifiers:
635
+ Description: Use only ascii symbols in identifiers.
636
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#english-identifiers
637
+ Enabled: false
638
+ Style/Attr:
639
+ Description: Checks for uses of Module#attr.
640
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#attr
641
+ Enabled: false
642
+ Style/BeginBlock:
643
+ Description: Avoid the use of BEGIN blocks.
644
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-BEGIN-blocks
645
+ Enabled: true
646
+ Style/BlockComments:
647
+ Description: Do not use block comments.
648
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-block-comments
649
+ Enabled: true
650
+ Style/BlockEndNewline:
651
+ Description: Put end statement of multiline block on its own line.
652
+ Enabled: true
653
+ Style/Blocks:
654
+ Description: Avoid using {...} for multi-line blocks (multiline chaining is always
655
+ ugly). Prefer {...} over do...end for single-line blocks.
656
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#single-line-blocks
657
+ Enabled: true
658
+ Style/CaseEquality:
659
+ Description: Avoid explicit use of the case equality operator(===).
660
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-case-equality
661
+ Enabled: false
662
+ Style/CharacterLiteral:
663
+ Description: Checks for uses of character literals.
664
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-character-literals
665
+ Enabled: false
666
+ Style/ClassAndModuleCamelCase:
667
+ Description: Use CamelCase for classes and modules.
668
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#camelcase-classes
669
+ Enabled: true
670
+ Style/ClassMethods:
671
+ Description: Use self when defining module/class methods.
672
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#def-self-singletons
673
+ Enabled: true
674
+ Style/ClassVars:
675
+ Description: Avoid the use of class variables.
676
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-class-vars
677
+ Enabled: false
678
+ Style/ColonMethodCall:
679
+ Description: 'Do not use :: for method call.'
680
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#double-colons
681
+ Enabled: false
682
+ Style/CommentIndentation:
683
+ Description: Indentation of comments.
684
+ Enabled: true
685
+ Style/ConstantName:
686
+ Description: Constants should use SCREAMING_SNAKE_CASE.
687
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#screaming-snake-case
688
+ Enabled: true
689
+ Style/DefWithParentheses:
690
+ Description: Use def with parentheses when there are arguments.
691
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#method-parens
692
+ Enabled: true
693
+ Style/DeprecatedHashMethods:
694
+ Description: Checks for use of deprecated Hash methods.
695
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#hash-key
696
+ Enabled: false
697
+ Style/Documentation:
698
+ Description: Document classes and non-namespace modules.
699
+ Enabled: false
700
+ Style/DoubleNegation:
701
+ Description: Checks for uses of double negation (!!).
702
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-bang-bang
703
+ Enabled: false
704
+ Style/EachWithObject:
705
+ Description: Prefer `each_with_object` over `inject` or `reduce`.
706
+ Enabled: false
707
+ Style/ElseAlignment:
708
+ Description: Align elses and elsifs correctly.
709
+ Enabled: true
710
+ Style/EmptyElse:
711
+ Description: Avoid empty else-clauses.
712
+ Enabled: true
713
+ Style/EmptyLines:
714
+ Description: Don't use several empty lines in a row.
715
+ Enabled: true
716
+ Style/EmptyLinesAroundAccessModifier:
717
+ Description: Keep blank lines around access modifiers.
718
+ Enabled: true
719
+ Style/EmptyLinesAroundMethodBody:
720
+ Description: Keeps track of empty lines around method bodies.
721
+ Enabled: true
722
+ Style/EmptyLiteral:
723
+ Description: Prefer literals to Array.new/Hash.new/String.new.
724
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#literal-array-hash
725
+ Enabled: false
726
+ Style/EndBlock:
727
+ Description: Avoid the use of END blocks.
728
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-END-blocks
729
+ Enabled: true
730
+ Style/EndOfLine:
731
+ Description: Use Unix-style line endings.
732
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#crlf
733
+ Enabled: true
734
+ Style/EvenOdd:
735
+ Description: Favor the use of Fixnum#even? && Fixnum#odd?
736
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#predicate-methods
737
+ Enabled: false
738
+ Style/FlipFlop:
739
+ Description: Checks for flip flops
740
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-flip-flops
741
+ Enabled: false
742
+ Style/IfWithSemicolon:
743
+ Description: Do not use if x; .... Use the ternary operator instead.
744
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-semicolon-ifs
745
+ Enabled: false
746
+ Style/IndentationConsistency:
747
+ Description: Keep indentation straight.
748
+ Enabled: true
749
+ Style/IndentArray:
750
+ Description: Checks the indentation of the first element in an array literal.
751
+ Enabled: true
752
+ Style/InfiniteLoop:
753
+ Description: Use Kernel#loop for infinite loops.
754
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#infinite-loop
755
+ Enabled: true
756
+ Style/Lambda:
757
+ Description: Use the new lambda literal syntax for single-line blocks.
758
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#lambda-multi-line
759
+ Enabled: false
760
+ Style/LeadingCommentSpace:
761
+ Description: Comments should start with a space.
762
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#hash-space
763
+ Enabled: true
764
+ Style/LineEndConcatenation:
765
+ Description: Use \ instead of + or << to concatenate two string literals at line
766
+ end.
767
+ Enabled: false
768
+ Style/MethodCallParentheses:
769
+ Description: Do not use parentheses for method calls with no arguments.
770
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-args-no-parens
771
+ Enabled: true
772
+ Style/ModuleFunction:
773
+ Description: Checks for usage of `extend self` in modules.
774
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#module-function
775
+ Enabled: false
776
+ Style/MultilineBlockChain:
777
+ Description: Avoid multi-line chains of blocks.
778
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#single-line-blocks
779
+ Enabled: true
780
+ Style/MultilineBlockLayout:
781
+ Description: Ensures newlines after multiline block do statements.
782
+ Enabled: true
783
+ Style/MultilineIfThen:
784
+ Description: Do not use then for multi-line if/unless.
785
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-then
786
+ Enabled: true
787
+ Style/MultilineTernaryOperator:
788
+ Description: 'Avoid multi-line ?: (the ternary operator); use if/unless instead.'
789
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-multiline-ternary
790
+ Enabled: true
791
+ Style/NegatedIf:
792
+ Description: Favor unless over if for negative conditions (or control flow or).
793
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#unless-for-negatives
794
+ Enabled: false
795
+ Style/NegatedWhile:
796
+ Description: Favor until over while for negative conditions.
797
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#until-for-negatives
798
+ Enabled: false
799
+ Style/NestedTernaryOperator:
800
+ Description: Use one expression per branch in a ternary operator.
801
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-nested-ternary
802
+ Enabled: true
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
+ Style/Not:
808
+ Description: Use ! instead of not.
809
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#bang-not-not
810
+ Enabled: false
811
+ Style/OneLineConditional:
812
+ Description: Favor the ternary operator(?:) over if/then/else/end constructs.
813
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#ternary-operator
814
+ Enabled: false
815
+ Style/OpMethod:
816
+ Description: When defining binary operators, name the argument other.
817
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#other-arg
818
+ Enabled: false
819
+ Style/PerlBackrefs:
820
+ Description: Avoid Perl-style regex back references.
821
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-perl-regexp-last-matchers
822
+ Enabled: false
823
+ Style/Proc:
824
+ Description: Use proc instead of Proc.new.
825
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#proc
826
+ Enabled: false
827
+ Style/RedundantBegin:
828
+ Description: Don't use begin blocks when they are not needed.
829
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#begin-implicit
830
+ Enabled: true
831
+ Style/RedundantException:
832
+ Description: Checks for an obsolete RuntimeException argument in raise/fail.
833
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-explicit-runtimeerror
834
+ Enabled: true
835
+ Style/RedundantSelf:
836
+ Description: Don't use self where it's not needed.
837
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-self-unless-required
838
+ Enabled: true
839
+ Style/RescueModifier:
840
+ Description: Avoid using rescue in its modifier form.
841
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-rescue-modifiers
842
+ Enabled: true
843
+ Style/SelfAssignment:
844
+ Description: Checks for places where self-assignment shorthand should have been
845
+ used.
846
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#self-assignment
847
+ Enabled: false
848
+ Style/SingleSpaceBeforeFirstArg:
849
+ Description: Checks that exactly one space is used between a method name and the
850
+ first argument for method calls without parentheses.
851
+ Enabled: true
852
+ Style/SpaceAfterColon:
853
+ Description: Use spaces after colons.
854
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
855
+ Enabled: true
856
+ Style/SpaceAfterComma:
857
+ Description: Use spaces after commas.
858
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
859
+ Enabled: true
860
+ Style/SpaceAfterControlKeyword:
861
+ Description: Use spaces after if/elsif/unless/while/until/case/when.
862
+ Enabled: true
863
+ Style/SpaceAfterMethodName:
864
+ Description: Do not put a space between a method name and the opening parenthesis
865
+ in a method definition.
866
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#parens-no-spaces
867
+ Enabled: true
868
+ Style/SpaceAfterNot:
869
+ Description: Tracks redundant space after the ! operator.
870
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-space-bang
871
+ Enabled: true
872
+ Style/SpaceAfterSemicolon:
873
+ Description: Use spaces after semicolons.
874
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
875
+ Enabled: true
876
+ Style/SpaceBeforeComma:
877
+ Description: No spaces before commas.
878
+ Enabled: true
879
+ Style/SpaceBeforeComment:
880
+ Description: Checks for missing space between code and a comment on the same line.
881
+ Enabled: true
882
+ Style/SpaceBeforeSemicolon:
883
+ Description: No spaces before semicolons.
884
+ Enabled: true
885
+ Style/SpaceAroundOperators:
886
+ Description: Use spaces around operators.
887
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
888
+ Enabled: true
889
+ Style/SpaceBeforeModifierKeyword:
890
+ Description: Put a space before the modifier keyword.
891
+ Enabled: true
892
+ Style/SpaceInsideBrackets:
893
+ Description: No spaces after [ or before ].
894
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-spaces-braces
895
+ Enabled: true
896
+ Style/SpaceInsideParens:
897
+ Description: No spaces after ( or before ).
898
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-spaces-braces
899
+ Enabled: true
900
+ Style/SpaceInsideRangeLiteral:
901
+ Description: No spaces inside range literals.
902
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-space-inside-range-literals
903
+ Enabled: true
904
+ Style/SpecialGlobalVars:
905
+ Description: Avoid Perl-style global variables.
906
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-cryptic-perlisms
907
+ Enabled: false
908
+ Style/StructInheritance:
909
+ Description: Checks for inheritance from Struct.new.
910
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-extend-struct-new
911
+ Enabled: true
912
+ Style/Tab:
913
+ Description: No hard tabs.
914
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-indentation
915
+ Enabled: true
916
+ Style/TrailingWhitespace:
917
+ Description: Avoid trailing whitespace.
918
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-trailing-whitespace
919
+ Enabled: true
920
+ Style/UnlessElse:
921
+ Description: Do not use unless with else. Rewrite these with the positive case first.
922
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-else-with-unless
923
+ Enabled: true
924
+ Style/UnneededCapitalW:
925
+ Description: Checks for %W when interpolation is not needed.
926
+ Enabled: true
927
+ Style/UnneededPercentQ:
928
+ Description: Checks for %q/%Q when single quotes or double quotes would do.
929
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-q
930
+ Enabled: true
931
+ Style/UnneededPercentX:
932
+ Description: Checks for %x when `` would do.
933
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-x
934
+ Enabled: true
935
+ Style/VariableInterpolation:
936
+ Description: Don't interpolate global, instance and class variables directly in
937
+ strings.
938
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#curlies-interpolate
939
+ Enabled: false
940
+ Style/WhenThen:
941
+ Description: Use when x then ... for one-line cases.
942
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#one-line-cases
943
+ Enabled: false
944
+ Style/WhileUntilDo:
945
+ Description: Checks for redundant do after while or until.
946
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-multiline-while-do
947
+ Enabled: true
948
+ Lint/AmbiguousOperator:
949
+ Description: Checks for ambiguous operators in the first argument of a method invocation
950
+ without parentheses.
951
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#parens-as-args
952
+ Enabled: false
953
+ Lint/AmbiguousRegexpLiteral:
954
+ Description: Checks for ambiguous regexp literals in the first argument of a method
955
+ invocation without parenthesis.
956
+ Enabled: false
957
+ Lint/BlockAlignment:
958
+ Description: Align block ends correctly.
959
+ Enabled: true
960
+ Lint/ConditionPosition:
961
+ Description: Checks for condition placed in a confusing position relative to the
962
+ keyword.
963
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#same-line-condition
964
+ Enabled: false
965
+ Lint/Debugger:
966
+ Description: Check for debugger calls.
967
+ Enabled: true
968
+ Lint/DeprecatedClassMethods:
969
+ Description: Check for deprecated class method calls.
970
+ Enabled: false
971
+ Lint/DuplicateMethods:
972
+ Description: Check for duplicate methods calls.
973
+ Enabled: true
974
+ Lint/ElseLayout:
975
+ Description: Check for odd code arrangement in an else block.
976
+ Enabled: false
977
+ Lint/EmptyEnsure:
978
+ Description: Checks for empty ensure block.
979
+ Enabled: true
980
+ Lint/EmptyInterpolation:
981
+ Description: Checks for empty string interpolation.
982
+ Enabled: true
983
+ Lint/EndInMethod:
984
+ Description: END blocks should not be placed inside method definitions.
985
+ Enabled: true
986
+ Lint/EnsureReturn:
987
+ Description: Do not use return in an ensure block.
988
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-return-ensure
989
+ Enabled: true
990
+ Lint/Eval:
991
+ Description: The use of eval represents a serious security risk.
992
+ Enabled: true
993
+ Lint/HandleExceptions:
994
+ Description: Don't suppress exception.
995
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#dont-hide-exceptions
996
+ Enabled: false
997
+ Lint/InvalidCharacterLiteral:
998
+ Description: Checks for invalid character literals with a non-escaped whitespace
999
+ character.
1000
+ Enabled: false
1001
+ Lint/LiteralInCondition:
1002
+ Description: Checks of literals used in conditions.
1003
+ Enabled: false
1004
+ Lint/LiteralInInterpolation:
1005
+ Description: Checks for literals used in interpolation.
1006
+ Enabled: false
1007
+ Lint/Loop:
1008
+ Description: Use Kernel#loop with break rather than begin/end/until or begin/end/while
1009
+ for post-loop tests.
1010
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#loop-with-break
1011
+ Enabled: false
1012
+ Lint/ParenthesesAsGroupedExpression:
1013
+ Description: Checks for method calls with a space before the opening parenthesis.
1014
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#parens-no-spaces
1015
+ Enabled: false
1016
+ Lint/RequireParentheses:
1017
+ Description: Use parentheses in the method call to avoid confusion about precedence.
1018
+ Enabled: false
1019
+ Lint/RescueException:
1020
+ Description: Avoid rescuing the Exception class.
1021
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-blind-rescues
1022
+ Enabled: true
1023
+ Lint/ShadowingOuterLocalVariable:
1024
+ Description: Do not use the same name as outer local variable for block arguments
1025
+ or block local variables.
1026
+ Enabled: true
1027
+ Lint/SpaceBeforeFirstArg:
1028
+ Description: Put a space between a method name and the first argument in a method
1029
+ call without parentheses.
1030
+ Enabled: true
1031
+ Lint/StringConversionInInterpolation:
1032
+ Description: Checks for Object#to_s usage in string interpolation.
1033
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-to-s
1034
+ Enabled: true
1035
+ Lint/UnderscorePrefixedVariableName:
1036
+ Description: Do not use prefix `_` for a variable that is used.
1037
+ Enabled: false
1038
+ Lint/UnusedBlockArgument:
1039
+ Description: Checks for unused block arguments.
1040
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars
1041
+ Enabled: true
1042
+ Lint/UnusedMethodArgument:
1043
+ Description: Checks for unused method arguments.
1044
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars
1045
+ Enabled: true
1046
+ Lint/UnreachableCode:
1047
+ Description: Unreachable code.
1048
+ Enabled: true
1049
+ Lint/UselessAccessModifier:
1050
+ Description: Checks for useless access modifiers.
1051
+ Enabled: true
1052
+ Lint/UselessAssignment:
1053
+ Description: Checks for useless assignment to a local variable.
1054
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars
1055
+ Enabled: true
1056
+ Lint/UselessComparison:
1057
+ Description: Checks for comparison of something with itself.
1058
+ Enabled: true
1059
+ Lint/UselessElseWithoutRescue:
1060
+ Description: Checks for useless `else` in `begin..end` without `rescue`.
1061
+ Enabled: true
1062
+ Lint/UselessSetterCall:
1063
+ Description: Checks for useless setter call to a local variable.
1064
+ Enabled: true
1065
+ Lint/Void:
1066
+ Description: Possible use of operator/literal/variable in void context.
1067
+ Enabled: false
1068
+ Rails/Delegate:
1069
+ Description: Prefer delegate method for delegations.
1070
+ Enabled: false
1071
+ RSpec/VerifiedDoubles:
1072
+ Description: Prefer using verifying doubles over normal doubles.
1073
+ Enabled: true
1074
+ RSpec/InstanceVariable:
1075
+ Enabled: false
1076
+
1077
+