ember_cli_deploy_redis 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZjVlZTM5MTYwODRlNjVhN2VkYzA1NjcwNDY1MmViMTQxNGNiM2JlNA==
5
+ data.tar.gz: !binary |-
6
+ NjUyMGE1MGZhNmU3YjM4NGUwZmYzYjNhMDIyNGJkYWIxZDNmNzI5Zg==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ YzMyNDFmMzFjOTU3NWEwZTQxYTljNWNmMmI2NTI0N2IwYWQwODk0ZDc2ZTE1
10
+ YmRmNTQ3N2I3ZGE5NzdiNzMzNzFkMTQzZWY4OTE4ZWQ4MTg3ZmY4NTM5OGZh
11
+ YTQxY2U2MTRmZDJjNDI3YjM0MmY1YjUzNzhjN2U2N2Y1YTMwZDM=
12
+ data.tar.gz: !binary |-
13
+ YTcxZjkwMDczMTY1ZThhMDc3NWI3NGM0OTJmYTg0NDc1MGQwOTEyNzJmYmJh
14
+ Mjk3YTUwNWJhMDhlMzg0MmM4MDgyZmE5NTViNGI1YTc4ZmE3Mjg2NmYxMTg4
15
+ NmY0MWVjZjJhZTMxOTk5NDU2NDk3Mjc0NzcxNmY4YTk0ODY0M2U=
data/.hound.yml ADDED
@@ -0,0 +1,6 @@
1
+ ruby:
2
+ config_file: .rubocop.yml
3
+ scss:
4
+ enabled: false
5
+ coffee_script:
6
+ enabled: false
data/.rubocop.yml ADDED
@@ -0,0 +1,1068 @@
1
+ AllCops:
2
+ Include:
3
+ - "**/*.gemspec"
4
+ - "**/*.podspec"
5
+ - "**/*.jbuilder"
6
+ - "**/*.rake"
7
+ - "**/*.opal"
8
+ - "**/Gemfile"
9
+ - "**/Rakefile"
10
+ - "**/Capfile"
11
+ - "**/Guardfile"
12
+ - "**/Podfile"
13
+ - "**/Thorfile"
14
+ - "**/Vagrantfile"
15
+ - "**/Berksfile"
16
+ - "**/Cheffile"
17
+ - "**/Vagabondfile"
18
+ - "**/config.ru"
19
+ Exclude:
20
+ - "vendor/**/*"
21
+ - "db/schema.rb"
22
+ - "db/**/*"
23
+ - "solr/**/*"
24
+ - "tmp/**/*"
25
+ RunRailsCops: false
26
+ DisplayCopNames: false
27
+ StyleGuideCopsOnly: false
28
+ Style/AccessModifierIndentation:
29
+ Description: Check indentation of private/protected visibility modifiers.
30
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#indent-public-private-protected
31
+ Enabled: true
32
+ EnforcedStyle: indent
33
+ SupportedStyles:
34
+ - outdent
35
+ - indent
36
+ Style/AlignHash:
37
+ Description: Align the elements of a hash literal if they span more than one line.
38
+ Enabled: true
39
+ EnforcedHashRocketStyle: key
40
+ EnforcedColonStyle: key
41
+ EnforcedLastArgumentHashStyle: always_inspect
42
+ SupportedLastArgumentHashStyles:
43
+ - always_inspect
44
+ - always_ignore
45
+ - ignore_implicit
46
+ - ignore_explicit
47
+ Style/AlignParameters:
48
+ Description: Align the parameters of a method call if they span more than one line.
49
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-double-indent
50
+ Enabled: true
51
+ EnforcedStyle: with_first_parameter
52
+ SupportedStyles:
53
+ - with_first_parameter
54
+ - with_fixed_indentation
55
+ Style/AndOr:
56
+ Description: Use &&/|| instead of and/or.
57
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-and-or-or
58
+ Enabled: true
59
+ EnforcedStyle: always
60
+ SupportedStyles:
61
+ - always
62
+ - conditionals
63
+ Style/BarePercentLiterals:
64
+ Description: Checks if usage of %() or %Q() matches configuration.
65
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-q-shorthand
66
+ Enabled: true
67
+ EnforcedStyle: bare_percent
68
+ SupportedStyles:
69
+ - percent_q
70
+ - bare_percent
71
+ Style/BracesAroundHashParameters:
72
+ Description: Enforce braces style around hash parameters.
73
+ Enabled: true
74
+ EnforcedStyle: no_braces
75
+ SupportedStyles:
76
+ - braces
77
+ - no_braces
78
+ - context_dependent
79
+ Style/CaseIndentation:
80
+ Description: Indentation of when in a case/when/[else/]end.
81
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#indent-when-to-case
82
+ Enabled: true
83
+ IndentWhenRelativeTo: case
84
+ SupportedStyles:
85
+ - case
86
+ - end
87
+ IndentOneStep: false
88
+ Style/ClassAndModuleChildren:
89
+ Description: Checks style of children classes and modules.
90
+ Enabled: false
91
+ EnforcedStyle: nested
92
+ SupportedStyles:
93
+ - nested
94
+ - compact
95
+ Style/ClassCheck:
96
+ Description: Enforces consistent use of `Object#is_a?` or `Object#kind_of?`.
97
+ Enabled: true
98
+ EnforcedStyle: is_a?
99
+ SupportedStyles:
100
+ - is_a?
101
+ - kind_of?
102
+ Style/CollectionMethods:
103
+ Description: Preferred collection methods.
104
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#map-find-select-reduce-size
105
+ Enabled: true
106
+ PreferredMethods:
107
+ collect: map
108
+ collect!: map!
109
+ find: detect
110
+ find_all: select
111
+ reduce: inject
112
+ Style/CommentAnnotation:
113
+ Description: Checks formatting of special comments (TODO, FIXME, OPTIMIZE, HACK,
114
+ REVIEW).
115
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#annotate-keywords
116
+ Enabled: false
117
+ Keywords:
118
+ - TODO
119
+ - FIXME
120
+ - OPTIMIZE
121
+ - HACK
122
+ - REVIEW
123
+ Style/DotPosition:
124
+ Description: Checks the position of the dot in multi-line method calls.
125
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-multi-line-chains
126
+ Enabled: true
127
+ EnforcedStyle: leading
128
+ SupportedStyles:
129
+ - leading
130
+ - trailing
131
+ Style/EmptyLineBetweenDefs:
132
+ Description: Use empty lines between defs.
133
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#empty-lines-between-methods
134
+ Enabled: true
135
+ AllowAdjacentOneLineDefs: false
136
+ Style/EmptyLinesAroundBlockBody:
137
+ Description: Keeps track of empty lines around block bodies.
138
+ Enabled: true
139
+ EnforcedStyle: no_empty_lines
140
+ SupportedStyles:
141
+ - empty_lines
142
+ - no_empty_lines
143
+ Style/EmptyLinesAroundClassBody:
144
+ Description: Keeps track of empty lines around class bodies.
145
+ Enabled: true
146
+ EnforcedStyle: no_empty_lines
147
+ SupportedStyles:
148
+ - empty_lines
149
+ - no_empty_lines
150
+ Style/EmptyLinesAroundModuleBody:
151
+ Description: Keeps track of empty lines around module bodies.
152
+ Enabled: true
153
+ EnforcedStyle: no_empty_lines
154
+ SupportedStyles:
155
+ - empty_lines
156
+ - no_empty_lines
157
+ Style/Encoding:
158
+ Description: Use UTF-8 as the source file encoding.
159
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#utf-8
160
+ Enabled: false
161
+ EnforcedStyle: always
162
+ SupportedStyles:
163
+ - when_needed
164
+ - always
165
+ Style/FileName:
166
+ Description: Use snake_case for source file names.
167
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-files
168
+ Enabled: false
169
+ Exclude:
170
+ - "[A-Z][a-z]*"
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: 100
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: false
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: true
444
+ EnforcedStyleForMultiline: 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: 100
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: 15
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 N characters.
514
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#80-character-limits
515
+ Enabled: true
516
+ Max: 100
517
+ AllowURI: true
518
+ URISchemes:
519
+ - http
520
+ - https
521
+ Metrics/MethodLength:
522
+ Description: Avoid methods longer than 10 lines of code.
523
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#short-methods
524
+ Enabled: false
525
+ CountComments: false
526
+ Max: 10
527
+ Metrics/ParameterLists:
528
+ Description: Avoid parameter lists longer than three or four parameters.
529
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#too-many-params
530
+ Enabled: false
531
+ Max: 5
532
+ CountKeywordArgs: true
533
+ Metrics/PerceivedComplexity:
534
+ Description: A complexity metric geared towards measuring complexity for a human
535
+ reader.
536
+ Enabled: false
537
+ Max: 7
538
+ Lint/AssignmentInCondition:
539
+ Description: Don't use assignment in conditions.
540
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#safe-assignment-in-condition
541
+ Enabled: false
542
+ AllowSafeAssignment: true
543
+ Lint/EndAlignment:
544
+ Description: Align ends correctly.
545
+ Enabled: true
546
+ AlignWith: keyword
547
+ SupportedStyles:
548
+ - keyword
549
+ - variable
550
+ Lint/DefEndAlignment:
551
+ Description: Align ends corresponding to defs correctly.
552
+ Enabled: true
553
+ AlignWith: start_of_line
554
+ SupportedStyles:
555
+ - start_of_line
556
+ - def
557
+ Rails/ActionFilter:
558
+ Description: Enforces consistent use of action filter methods.
559
+ Enabled: false
560
+ EnforcedStyle: action
561
+ SupportedStyles:
562
+ - action
563
+ - filter
564
+ Include:
565
+ - app/controllers/**/*.rb
566
+ Rails/DefaultScope:
567
+ Description: Checks if the argument passed to default_scope is a block.
568
+ Enabled: true
569
+ Include:
570
+ - app/models/**/*.rb
571
+ Rails/HasAndBelongsToMany:
572
+ Description: Prefer has_many :through to has_and_belongs_to_many.
573
+ Enabled: true
574
+ Include:
575
+ - app/models/**/*.rb
576
+ Rails/Output:
577
+ Description: Checks for calls to puts, print, etc.
578
+ Enabled: true
579
+ Include:
580
+ - app/**/*.rb
581
+ - config/**/*.rb
582
+ - db/**/*.rb
583
+ - lib/**/*.rb
584
+ Rails/ReadWriteAttribute:
585
+ Description: Checks for read_attribute(:attr) and write_attribute(:attr, val).
586
+ Enabled: true
587
+ Include:
588
+ - app/models/**/*.rb
589
+ Rails/ScopeArgs:
590
+ Description: Checks the arguments of ActiveRecord scopes.
591
+ Enabled: true
592
+ Include:
593
+ - app/models/**/*.rb
594
+ Rails/Validation:
595
+ Description: Use validates :attribute, hash of validations.
596
+ Enabled: true
597
+ Include:
598
+ - app/models/**/*.rb
599
+ Style/InlineComment:
600
+ Description: Avoid inline comments.
601
+ Enabled: false
602
+ Style/MethodCalledOnDoEndBlock:
603
+ Description: Avoid chaining a method call on a do...end block.
604
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#single-line-blocks
605
+ Enabled: false
606
+ Style/SymbolArray:
607
+ Description: Use %i or %I for arrays of symbols.
608
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-i
609
+ Enabled: false
610
+ Style/ExtraSpacing:
611
+ Description: Do not use unnecessary spacing.
612
+ Enabled: true
613
+ Style/AccessorMethodName:
614
+ Description: Check the naming of accessor methods for get_/set_.
615
+ Enabled: false
616
+ Style/Alias:
617
+ Description: Use alias_method instead of alias.
618
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#alias-method
619
+ Enabled: false
620
+ Style/AlignArray:
621
+ Description: Align the elements of an array literal if they span more than one line.
622
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#align-multiline-arrays
623
+ Enabled: true
624
+ Style/ArrayJoin:
625
+ Description: Use Array#join instead of Array#*.
626
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#array-join
627
+ Enabled: false
628
+ Style/AsciiComments:
629
+ Description: Use only ascii symbols in comments.
630
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#english-comments
631
+ Enabled: false
632
+ Style/AsciiIdentifiers:
633
+ Description: Use only ascii symbols in identifiers.
634
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#english-identifiers
635
+ Enabled: false
636
+ Style/Attr:
637
+ Description: Checks for uses of Module#attr.
638
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#attr
639
+ Enabled: false
640
+ Style/BeginBlock:
641
+ Description: Avoid the use of BEGIN blocks.
642
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-BEGIN-blocks
643
+ Enabled: true
644
+ Style/BlockComments:
645
+ Description: Do not use block comments.
646
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-block-comments
647
+ Enabled: true
648
+ Style/BlockEndNewline:
649
+ Description: Put end statement of multiline block on its own line.
650
+ Enabled: true
651
+ Style/Blocks:
652
+ Description: Avoid using {...} for multi-line blocks (multiline chaining is always
653
+ ugly). Prefer {...} over do...end for single-line blocks.
654
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#single-line-blocks
655
+ Enabled: false
656
+ Style/CaseEquality:
657
+ Description: Avoid explicit use of the case equality operator(===).
658
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-case-equality
659
+ Enabled: false
660
+ Style/CharacterLiteral:
661
+ Description: Checks for uses of character literals.
662
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-character-literals
663
+ Enabled: false
664
+ Style/ClassAndModuleCamelCase:
665
+ Description: Use CamelCase for classes and modules.
666
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#camelcase-classes
667
+ Enabled: true
668
+ Style/ClassMethods:
669
+ Description: Use self when defining module/class methods.
670
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#def-self-singletons
671
+ Enabled: true
672
+ Style/ClassVars:
673
+ Description: Avoid the use of class variables.
674
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-class-vars
675
+ Enabled: false
676
+ Style/ColonMethodCall:
677
+ Description: 'Do not use :: for method call.'
678
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#double-colons
679
+ Enabled: false
680
+ Style/CommentIndentation:
681
+ Description: Indentation of comments.
682
+ Enabled: true
683
+ Style/ConstantName:
684
+ Description: Constants should use SCREAMING_SNAKE_CASE.
685
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#screaming-snake-case
686
+ Enabled: true
687
+ Style/DefWithParentheses:
688
+ Description: Use def with parentheses when there are arguments.
689
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#method-parens
690
+ Enabled: true
691
+ Style/DeprecatedHashMethods:
692
+ Description: Checks for use of deprecated Hash methods.
693
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#hash-key
694
+ Enabled: false
695
+ Style/Documentation:
696
+ Description: Document classes and non-namespace modules.
697
+ Enabled: false
698
+ Style/DoubleNegation:
699
+ Description: Checks for uses of double negation (!!).
700
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-bang-bang
701
+ Enabled: false
702
+ Style/EachWithObject:
703
+ Description: Prefer `each_with_object` over `inject` or `reduce`.
704
+ Enabled: false
705
+ Style/ElseAlignment:
706
+ Description: Align elses and elsifs correctly.
707
+ Enabled: true
708
+ Style/EmptyElse:
709
+ Description: Avoid empty else-clauses.
710
+ Enabled: true
711
+ Style/EmptyLines:
712
+ Description: Don't use several empty lines in a row.
713
+ Enabled: true
714
+ Style/EmptyLinesAroundAccessModifier:
715
+ Description: Keep blank lines around access modifiers.
716
+ Enabled: true
717
+ Style/EmptyLinesAroundMethodBody:
718
+ Description: Keeps track of empty lines around method bodies.
719
+ Enabled: true
720
+ Style/EmptyLiteral:
721
+ Description: Prefer literals to Array.new/Hash.new/String.new.
722
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#literal-array-hash
723
+ Enabled: false
724
+ Style/EndBlock:
725
+ Description: Avoid the use of END blocks.
726
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-END-blocks
727
+ Enabled: true
728
+ Style/EndOfLine:
729
+ Description: Use Unix-style line endings.
730
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#crlf
731
+ Enabled: true
732
+ Style/EvenOdd:
733
+ Description: Favor the use of Fixnum#even? && Fixnum#odd?
734
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#predicate-methods
735
+ Enabled: false
736
+ Style/FlipFlop:
737
+ Description: Checks for flip flops
738
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-flip-flops
739
+ Enabled: false
740
+ Style/IfWithSemicolon:
741
+ Description: Do not use if x; .... Use the ternary operator instead.
742
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-semicolon-ifs
743
+ Enabled: false
744
+ Style/IndentationConsistency:
745
+ Description: Keep indentation straight.
746
+ Enabled: true
747
+ Style/IndentArray:
748
+ Description: Checks the indentation of the first element in an array literal.
749
+ Enabled: true
750
+ Style/InfiniteLoop:
751
+ Description: Use Kernel#loop for infinite loops.
752
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#infinite-loop
753
+ Enabled: true
754
+ Style/Lambda:
755
+ Description: Use the new lambda literal syntax for single-line blocks.
756
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#lambda-multi-line
757
+ Enabled: false
758
+ Style/LeadingCommentSpace:
759
+ Description: Comments should start with a space.
760
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#hash-space
761
+ Enabled: true
762
+ Style/LineEndConcatenation:
763
+ Description: Use \ instead of + or << to concatenate two string literals at line
764
+ end.
765
+ Enabled: false
766
+ Style/MethodCallParentheses:
767
+ Description: Do not use parentheses for method calls with no arguments.
768
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-args-no-parens
769
+ Enabled: true
770
+ Style/ModuleFunction:
771
+ Description: Checks for usage of `extend self` in modules.
772
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#module-function
773
+ Enabled: false
774
+ Style/MultilineBlockChain:
775
+ Description: Avoid multi-line chains of blocks.
776
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#single-line-blocks
777
+ Enabled: true
778
+ Style/MultilineBlockLayout:
779
+ Description: Ensures newlines after multiline block do statements.
780
+ Enabled: true
781
+ Style/MultilineIfThen:
782
+ Description: Do not use then for multi-line if/unless.
783
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-then
784
+ Enabled: true
785
+ Style/MultilineTernaryOperator:
786
+ Description: 'Avoid multi-line ?: (the ternary operator); use if/unless instead.'
787
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-multiline-ternary
788
+ Enabled: true
789
+ Style/NegatedIf:
790
+ Description: Favor unless over if for negative conditions (or control flow or).
791
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#unless-for-negatives
792
+ Enabled: false
793
+ Style/NegatedWhile:
794
+ Description: Favor until over while for negative conditions.
795
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#until-for-negatives
796
+ Enabled: false
797
+ Style/NestedTernaryOperator:
798
+ Description: Use one expression per branch in a ternary operator.
799
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-nested-ternary
800
+ Enabled: true
801
+ Style/NilComparison:
802
+ Description: Prefer x.nil? to x == nil.
803
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#predicate-methods
804
+ Enabled: false
805
+ Style/Not:
806
+ Description: Use ! instead of not.
807
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#bang-not-not
808
+ Enabled: false
809
+ Style/OneLineConditional:
810
+ Description: Favor the ternary operator(?:) over if/then/else/end constructs.
811
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#ternary-operator
812
+ Enabled: false
813
+ Style/OpMethod:
814
+ Description: When defining binary operators, name the argument other.
815
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#other-arg
816
+ Enabled: false
817
+ Style/PerlBackrefs:
818
+ Description: Avoid Perl-style regex back references.
819
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-perl-regexp-last-matchers
820
+ Enabled: false
821
+ Style/Proc:
822
+ Description: Use proc instead of Proc.new.
823
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#proc
824
+ Enabled: false
825
+ Style/RedundantBegin:
826
+ Description: Don't use begin blocks when they are not needed.
827
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#begin-implicit
828
+ Enabled: true
829
+ Style/RedundantException:
830
+ Description: Checks for an obsolete RuntimeException argument in raise/fail.
831
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-explicit-runtimeerror
832
+ Enabled: true
833
+ Style/RedundantSelf:
834
+ Description: Don't use self where it's not needed.
835
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-self-unless-required
836
+ Enabled: true
837
+ Style/RescueModifier:
838
+ Description: Avoid using rescue in its modifier form.
839
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-rescue-modifiers
840
+ Enabled: true
841
+ Style/SelfAssignment:
842
+ Description: Checks for places where self-assignment shorthand should have been
843
+ used.
844
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#self-assignment
845
+ Enabled: false
846
+ Style/SingleSpaceBeforeFirstArg:
847
+ Description: Checks that exactly one space is used between a method name and the
848
+ first argument for method calls without parentheses.
849
+ Enabled: true
850
+ Style/SpaceAfterColon:
851
+ Description: Use spaces after colons.
852
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
853
+ Enabled: true
854
+ Style/SpaceAfterComma:
855
+ Description: Use spaces after commas.
856
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
857
+ Enabled: true
858
+ Style/SpaceAfterControlKeyword:
859
+ Description: Use spaces after if/elsif/unless/while/until/case/when.
860
+ Enabled: true
861
+ Style/SpaceAfterMethodName:
862
+ Description: Do not put a space between a method name and the opening parenthesis
863
+ in a method definition.
864
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#parens-no-spaces
865
+ Enabled: true
866
+ Style/SpaceAfterNot:
867
+ Description: Tracks redundant space after the ! operator.
868
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-space-bang
869
+ Enabled: true
870
+ Style/SpaceAfterSemicolon:
871
+ Description: Use spaces after semicolons.
872
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
873
+ Enabled: true
874
+ Style/SpaceBeforeComma:
875
+ Description: No spaces before commas.
876
+ Enabled: true
877
+ Style/SpaceBeforeComment:
878
+ Description: Checks for missing space between code and a comment on the same line.
879
+ Enabled: true
880
+ Style/SpaceBeforeSemicolon:
881
+ Description: No spaces before semicolons.
882
+ Enabled: true
883
+ Style/SpaceAroundOperators:
884
+ Description: Use spaces around operators.
885
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
886
+ Enabled: true
887
+ Style/SpaceBeforeModifierKeyword:
888
+ Description: Put a space before the modifier keyword.
889
+ Enabled: true
890
+ Style/SpaceInsideBrackets:
891
+ Description: No spaces after [ or before ].
892
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-spaces-braces
893
+ Enabled: true
894
+ Style/SpaceInsideParens:
895
+ Description: No spaces after ( or before ).
896
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-spaces-braces
897
+ Enabled: true
898
+ Style/SpaceInsideRangeLiteral:
899
+ Description: No spaces inside range literals.
900
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-space-inside-range-literals
901
+ Enabled: true
902
+ Style/SpecialGlobalVars:
903
+ Description: Avoid Perl-style global variables.
904
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-cryptic-perlisms
905
+ Enabled: false
906
+ Style/StructInheritance:
907
+ Description: Checks for inheritance from Struct.new.
908
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-extend-struct-new
909
+ Enabled: true
910
+ Style/Tab:
911
+ Description: No hard tabs.
912
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-indentation
913
+ Enabled: true
914
+ Style/TrailingWhitespace:
915
+ Description: Avoid trailing whitespace.
916
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-trailing-whitespace
917
+ Enabled: true
918
+ Style/UnlessElse:
919
+ Description: Do not use unless with else. Rewrite these with the positive case first.
920
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-else-with-unless
921
+ Enabled: true
922
+ Style/UnneededCapitalW:
923
+ Description: Checks for %W when interpolation is not needed.
924
+ Enabled: true
925
+ Style/UnneededPercentQ:
926
+ Description: Checks for %q/%Q when single quotes or double quotes would do.
927
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-q
928
+ Enabled: true
929
+ Style/UnneededPercentX:
930
+ Description: Checks for %x when `` would do.
931
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-x
932
+ Enabled: true
933
+ Style/VariableInterpolation:
934
+ Description: Don't interpolate global, instance and class variables directly in
935
+ strings.
936
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#curlies-interpolate
937
+ Enabled: false
938
+ Style/WhenThen:
939
+ Description: Use when x then ... for one-line cases.
940
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#one-line-cases
941
+ Enabled: false
942
+ Style/WhileUntilDo:
943
+ Description: Checks for redundant do after while or until.
944
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-multiline-while-do
945
+ Enabled: true
946
+ Lint/AmbiguousOperator:
947
+ Description: Checks for ambiguous operators in the first argument of a method invocation
948
+ without parentheses.
949
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#parens-as-args
950
+ Enabled: false
951
+ Lint/AmbiguousRegexpLiteral:
952
+ Description: Checks for ambiguous regexp literals in the first argument of a method
953
+ invocation without parenthesis.
954
+ Enabled: false
955
+ Lint/BlockAlignment:
956
+ Description: Align block ends correctly.
957
+ Enabled: true
958
+ Lint/ConditionPosition:
959
+ Description: Checks for condition placed in a confusing position relative to the
960
+ keyword.
961
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#same-line-condition
962
+ Enabled: false
963
+ Lint/Debugger:
964
+ Description: Check for debugger calls.
965
+ Enabled: true
966
+ Lint/DeprecatedClassMethods:
967
+ Description: Check for deprecated class method calls.
968
+ Enabled: false
969
+ Lint/DuplicateMethods:
970
+ Description: Check for duplicate methods calls.
971
+ Enabled: true
972
+ Lint/ElseLayout:
973
+ Description: Check for odd code arrangement in an else block.
974
+ Enabled: false
975
+ Lint/EmptyEnsure:
976
+ Description: Checks for empty ensure block.
977
+ Enabled: true
978
+ Lint/EmptyInterpolation:
979
+ Description: Checks for empty string interpolation.
980
+ Enabled: true
981
+ Lint/EndInMethod:
982
+ Description: END blocks should not be placed inside method definitions.
983
+ Enabled: true
984
+ Lint/EnsureReturn:
985
+ Description: Do not use return in an ensure block.
986
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-return-ensure
987
+ Enabled: true
988
+ Lint/Eval:
989
+ Description: The use of eval represents a serious security risk.
990
+ Enabled: true
991
+ Lint/HandleExceptions:
992
+ Description: Don't suppress exception.
993
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#dont-hide-exceptions
994
+ Enabled: false
995
+ Lint/InvalidCharacterLiteral:
996
+ Description: Checks for invalid character literals with a non-escaped whitespace
997
+ character.
998
+ Enabled: false
999
+ Lint/LiteralInCondition:
1000
+ Description: Checks of literals used in conditions.
1001
+ Enabled: false
1002
+ Lint/LiteralInInterpolation:
1003
+ Description: Checks for literals used in interpolation.
1004
+ Enabled: false
1005
+ Lint/Loop:
1006
+ Description: Use Kernel#loop with break rather than begin/end/until or begin/end/while
1007
+ for post-loop tests.
1008
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#loop-with-break
1009
+ Enabled: false
1010
+ Lint/ParenthesesAsGroupedExpression:
1011
+ Description: Checks for method calls with a space before the opening parenthesis.
1012
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#parens-no-spaces
1013
+ Enabled: false
1014
+ Lint/RequireParentheses:
1015
+ Description: Use parentheses in the method call to avoid confusion about precedence.
1016
+ Enabled: false
1017
+ Lint/RescueException:
1018
+ Description: Avoid rescuing the Exception class.
1019
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-blind-rescues
1020
+ Enabled: true
1021
+ Lint/ShadowingOuterLocalVariable:
1022
+ Description: Do not use the same name as outer local variable for block arguments
1023
+ or block local variables.
1024
+ Enabled: true
1025
+ Lint/SpaceBeforeFirstArg:
1026
+ Description: Put a space between a method name and the first argument in a method
1027
+ call without parentheses.
1028
+ Enabled: true
1029
+ Lint/StringConversionInInterpolation:
1030
+ Description: Checks for Object#to_s usage in string interpolation.
1031
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-to-s
1032
+ Enabled: true
1033
+ Lint/UnderscorePrefixedVariableName:
1034
+ Description: Do not use prefix `_` for a variable that is used.
1035
+ Enabled: false
1036
+ Lint/UnusedBlockArgument:
1037
+ Description: Checks for unused block arguments.
1038
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars
1039
+ Enabled: true
1040
+ Lint/UnusedMethodArgument:
1041
+ Description: Checks for unused method arguments.
1042
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars
1043
+ Enabled: true
1044
+ Lint/UnreachableCode:
1045
+ Description: Unreachable code.
1046
+ Enabled: true
1047
+ Lint/UselessAccessModifier:
1048
+ Description: Checks for useless access modifiers.
1049
+ Enabled: true
1050
+ Lint/UselessAssignment:
1051
+ Description: Checks for useless assignment to a local variable.
1052
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars
1053
+ Enabled: true
1054
+ Lint/UselessComparison:
1055
+ Description: Checks for comparison of something with itself.
1056
+ Enabled: true
1057
+ Lint/UselessElseWithoutRescue:
1058
+ Description: Checks for useless `else` in `begin..end` without `rescue`.
1059
+ Enabled: true
1060
+ Lint/UselessSetterCall:
1061
+ Description: Checks for useless setter call to a local variable.
1062
+ Enabled: true
1063
+ Lint/Void:
1064
+ Description: Possible use of operator/literal/variable in void context.
1065
+ Enabled: false
1066
+ Rails/Delegate:
1067
+ Description: Prefer delegate method for delegations.
1068
+ Enabled: false