rubocop-airbnb 1.0.0 → 1.3.0

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: e606bf47c06053d42acc1100abc09b8984b80ebf
4
- data.tar.gz: 03d2d05b1ec2d6e656b59e697618c8f020afbc92
3
+ metadata.gz: 0d2dcf1334e8eeb272ff56471391e73622488e26
4
+ data.tar.gz: 941186c8f5c022da98449b9133d19e67a3130293
5
5
  SHA512:
6
- metadata.gz: a14424158bccca0d2506cedd884b77eeeaafa72680393948455859af6ba0b577278cba32beaa185e9bf6edfb8b0286706d9325fa9a4a54d7058049266a509c7f
7
- data.tar.gz: f208056c32bc043c4ba9c8f446a83ee24e4b4a0aa1c62193f56ac86df6a96d8724a124f6b359a629bf649c1cb273c2d0367f03fe26c3bb7eed2fb987aac168bb
6
+ metadata.gz: 99a154982784e30d893d4349a46f97b50cffc73d64f32683aa202180dbfd8614954e93aabc508df149588171bf4fe9a37195b55e8ea5941a3e9709c9a13ff51e
7
+ data.tar.gz: b58a02873292060626dba0a0f48961250e02ea07d2034d310e291a69857be29757f63d255629a5d27df52ebc195047613b3490a117b3f78f6bac2a6c4f57a07a
data/CHANGELOG.md CHANGED
@@ -1,2 +1,6 @@
1
+ # 1.3.0
2
+ * Upgrade to rubocop 0.54.0
3
+ * Add SimpleUnless cop
4
+
1
5
  # 1.0.0
2
6
  * First public release of rubocop-airbnb
data/README.md CHANGED
@@ -1,9 +1,9 @@
1
1
  # RuboCop Airbnb
2
2
 
3
- Airbnb specific analysis for [RuboCop](https://github.com/bbatsov/rubocop).
3
+ Airbnb specific analysis for [RuboCop](https://github.com/rubocop-hq/rubocop).
4
4
 
5
5
  It contains Airbnb's internally used configuration for
6
- [RuboCop](https://github.com/bbatsov/rubocop) and
6
+ [RuboCop](https://github.com/rubocop-hq/rubocop) and
7
7
  [RuboCop RSpec](https://github.com/backus/rubocop-rspec). It also includes a handful custom rules
8
8
  that are not currently addressed by other projects.
9
9
 
@@ -85,6 +85,10 @@ Airbnb/SimpleModifierConditional:
85
85
  Enabled: true
86
86
  StyleGuide: https://github.com/airbnb/ruby#only-simple-if-unless
87
87
 
88
+ Airbnb/SimpleUnless:
89
+ Enabled: true
90
+ StyleGuide: https://github.com/airbnb/ruby#unless-with-multiple-conditions
91
+
88
92
  Airbnb/SpecConstantAssignment:
89
93
  Description: Constant assignment in specs polute global namespace and are a cause of spurious
90
94
  specs. They should be avoided. Also modifing existing constants is bad too, use stub_const
@@ -3,7 +3,7 @@
3
3
  Layout/AccessModifierIndentation:
4
4
  Description: Check indentation of private/protected visibility modifiers.
5
5
  # Airbnb: https://github.com/airbnb/ruby#access-modifiers
6
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#indent-public-private-protected
6
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#indent-public-private-protected
7
7
  Enabled: true
8
8
  EnforcedStyle: indent
9
9
  SupportedStyles:
@@ -13,7 +13,7 @@ Layout/AccessModifierIndentation:
13
13
  # Supports --auto-correct
14
14
  Layout/AlignArray:
15
15
  Description: Align the elements of an array literal if they span more than one line.
16
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#align-multiline-arrays
16
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#align-multiline-arrays
17
17
  Enabled: true
18
18
 
19
19
  # Supports --auto-correct
@@ -32,13 +32,18 @@ Layout/AlignHash:
32
32
  # Supports --auto-correct
33
33
  Layout/AlignParameters:
34
34
  Description: Align the parameters of a method call if they span more than one line.
35
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-double-indent
35
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#no-double-indent
36
36
  Enabled: true
37
37
  EnforcedStyle: with_first_parameter
38
38
  SupportedStyles:
39
39
  - with_first_parameter
40
40
  - with_fixed_indentation
41
41
 
42
+ # Supports --auto-correct
43
+ Layout/BlockAlignment:
44
+ Description: Align block ends correctly.
45
+ Enabled: true
46
+
42
47
  # Supports --auto-correct
43
48
  Layout/BlockEndNewline:
44
49
  Description: Put end statement of multiline block on its own line.
@@ -47,7 +52,7 @@ Layout/BlockEndNewline:
47
52
  # Supports --auto-correct
48
53
  Layout/CaseIndentation:
49
54
  Description: Indentation of when in a case/when/[else/]end.
50
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#indent-when-to-case
55
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#indent-when-to-case
51
56
  Enabled: true
52
57
  EnforcedStyle: case
53
58
  IndentOneStep: false
@@ -78,6 +83,18 @@ Layout/CommentIndentation:
78
83
  Description: Indentation of comments.
79
84
  Enabled: true
80
85
 
86
+ Layout/ConditionPosition:
87
+ Description: Checks for condition placed in a confusing position relative to the keyword.
88
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#same-line-condition
89
+ Enabled: true
90
+
91
+ # Supports --auto-correct
92
+ Layout/DefEndAlignment:
93
+ Description: Align ends corresponding to defs correctly.
94
+ Enabled: true
95
+ EnforcedStyleAlignWith: start_of_line
96
+ AutoCorrect: false
97
+
81
98
  # Use trailing commas, because there are safer in ruby.
82
99
  Layout/DotPosition:
83
100
  Enabled: true
@@ -88,13 +105,17 @@ Layout/ElseAlignment:
88
105
  Description: Align elses and elsifs correctly.
89
106
  Enabled: true
90
107
 
108
+ Layout/EmptyComment:
109
+ Description: 'Checks empty comment.'
110
+ Enabled: true
111
+
91
112
  Layout/EmptyLineAfterMagicComment:
92
113
  Enabled: true
93
114
 
94
115
  # Supports --auto-correct
95
116
  Layout/EmptyLineBetweenDefs:
96
117
  Description: Use empty lines between defs.
97
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#empty-lines-between-methods
118
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#empty-lines-between-methods
98
119
  Enabled: true
99
120
  AllowAdjacentOneLineDefs: false
100
121
 
@@ -130,7 +151,9 @@ Layout/EmptyLinesAroundClassBody:
130
151
  Enabled: true
131
152
  EnforcedStyle: no_empty_lines
132
153
  SupportedStyles:
154
+ - beginning_only
133
155
  - empty_lines
156
+ - end_only
134
157
  - no_empty_lines
135
158
 
136
159
  Layout/EmptyLinesAroundExceptionHandlingKeywords:
@@ -150,9 +173,23 @@ Layout/EmptyLinesAroundModuleBody:
150
173
  - empty_lines
151
174
  - no_empty_lines
152
175
 
176
+ # Supports --auto-correct
177
+ Layout/EndAlignment:
178
+ Description: Align ends correctly.
179
+ # The value `keyword` means that `end` should be aligned with the matching
180
+ # keyword (if, while, etc.).
181
+ # The value `variable` means that in assignments, `end` should be aligned
182
+ # with the start of the variable on the left hand side of `=`. In all other
183
+ # situations, `end` should still be aligned with the keyword.
184
+ # The value `start_of_line` means that `end` should be aligned with the start
185
+ # of the line which the matching keyword appears on.
186
+ Enabled: true
187
+ EnforcedStyleAlignWith: keyword
188
+ AutoCorrect: false
189
+
153
190
  Layout/EndOfLine:
154
191
  Description: Use Unix-style line endings.
155
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#crlf
192
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#crlf
156
193
  Enabled: false
157
194
 
158
195
  # Supports --auto-correct
@@ -231,7 +268,7 @@ Layout/IndentationConsistency:
231
268
  # Supports --auto-correct
232
269
  Layout/IndentationWidth:
233
270
  Description: Use 2 spaces for indentation.
234
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-indentation
271
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#spaces-indentation
235
272
  Enabled: true
236
273
  Width: 2
237
274
 
@@ -243,7 +280,7 @@ Layout/InitialIndentation:
243
280
  # Supports --auto-correct
244
281
  Layout/LeadingCommentSpace:
245
282
  Description: Comments should start with a space.
246
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#hash-space
283
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#hash-space
247
284
  Enabled: true
248
285
 
249
286
  # Supports --auto-correct
@@ -255,7 +292,7 @@ Layout/MultilineArrayBraceLayout:
255
292
  # Supports --auto-correct
256
293
  Layout/MultilineAssignmentLayout:
257
294
  Description: Check for a newline after the assignment operator in multi-line assignments.
258
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#indent-conditional-assignment
295
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#indent-conditional-assignment
259
296
  Enabled: false
260
297
  SupportedTypes:
261
298
  - block
@@ -324,32 +361,32 @@ Layout/RescueEnsureAlignment:
324
361
  # Supports --auto-correct
325
362
  Layout/SpaceAfterColon:
326
363
  Description: Use spaces after colons.
327
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
364
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#spaces-operators
328
365
  Enabled: true
329
366
 
330
367
  # Supports --auto-correct
331
368
  Layout/SpaceAfterComma:
332
369
  Description: Use spaces after commas.
333
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
370
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#spaces-operators
334
371
  Enabled: true
335
372
 
336
373
  # Supports --auto-correct
337
374
  Layout/SpaceAfterMethodName:
338
375
  Description: Do not put a space between a method name and the opening parenthesis
339
376
  in a method definition.
340
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#parens-no-spaces
377
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#parens-no-spaces
341
378
  Enabled: true
342
379
 
343
380
  # Supports --auto-correct
344
381
  Layout/SpaceAfterNot:
345
382
  Description: Tracks redundant space after the ! operator.
346
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-space-bang
383
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#no-space-bang
347
384
  Enabled: true
348
385
 
349
386
  # Supports --auto-correct
350
387
  Layout/SpaceAfterSemicolon:
351
388
  Description: Use spaces after semicolons.
352
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
389
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#spaces-operators
353
390
  Enabled: true
354
391
 
355
392
  # Supports --auto-correct
@@ -362,7 +399,7 @@ Layout/SpaceAroundBlockParameters:
362
399
  Layout/SpaceAroundEqualsInParameterDefault:
363
400
  Description: Checks that the equals signs in parameter default assignments have or
364
401
  don't have surrounding space depending on configuration.
365
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-around-equals
402
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#spaces-around-equals
366
403
  Enabled: true
367
404
  EnforcedStyle: space
368
405
  SupportedStyles:
@@ -376,7 +413,7 @@ Layout/SpaceAroundKeyword:
376
413
  # Supports --auto-correct
377
414
  Layout/SpaceAroundOperators:
378
415
  Description: Use a single space around operators.
379
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
416
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#spaces-operators
380
417
  Enabled: true
381
418
  AllowForAlignment: true
382
419
 
@@ -448,7 +485,7 @@ Layout/SpaceInsideArrayLiteralBrackets:
448
485
  Enabled: true
449
486
 
450
487
  Layout/SpaceInsideReferenceBrackets:
451
- EnforcedStyle: no_space
488
+ EnforcedStyleForEmptyBrackets: no_space
452
489
  SupportedStyles:
453
490
  - space
454
491
  - no_space
@@ -457,7 +494,7 @@ Layout/SpaceInsideReferenceBrackets:
457
494
  # Supports --auto-correct
458
495
  Layout/SpaceInsideHashLiteralBraces:
459
496
  Description: Use spaces inside hash literal braces - or don't.
460
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
497
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#spaces-operators
461
498
  Enabled: true
462
499
  EnforcedStyle: space
463
500
  EnforcedStyleForEmptyBraces: no_space
@@ -468,7 +505,7 @@ Layout/SpaceInsideHashLiteralBraces:
468
505
  # Supports --auto-correct
469
506
  Layout/SpaceInsideParens:
470
507
  Description: No spaces after ( or before ).
471
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-spaces-braces
508
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#no-spaces-braces
472
509
  Enabled: true
473
510
 
474
511
  Layout/SpaceInsidePercentLiteralDelimiters:
@@ -478,13 +515,13 @@ Layout/SpaceInsidePercentLiteralDelimiters:
478
515
  # Supports --auto-correct
479
516
  Layout/SpaceInsideRangeLiteral:
480
517
  Description: No spaces inside range literals.
481
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-space-inside-range-literals
518
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#no-space-inside-range-literals
482
519
  Enabled: true
483
520
 
484
521
  # Supports --auto-correct
485
522
  Layout/SpaceInsideStringInterpolation:
486
523
  Description: Checks for padding/surrounding spaces inside string interpolation.
487
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#string-interpolation
524
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#string-interpolation
488
525
  Enabled: true
489
526
  EnforcedStyle: no_space
490
527
  SupportedStyles:
@@ -494,13 +531,13 @@ Layout/SpaceInsideStringInterpolation:
494
531
  # Supports --auto-correct
495
532
  Layout/Tab:
496
533
  Description: No hard tabs.
497
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-indentation
534
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#spaces-indentation
498
535
  Enabled: true
499
536
 
500
537
  # Supports --auto-correct
501
538
  Layout/TrailingBlankLines:
502
539
  Description: Checks trailing blank lines and final newline.
503
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#newline-eof
540
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#newline-eof
504
541
  Enabled: true
505
542
  EnforcedStyle: final_newline
506
543
  SupportedStyles:
@@ -510,5 +547,5 @@ Layout/TrailingBlankLines:
510
547
  # Supports --auto-correct
511
548
  Layout/TrailingWhitespace:
512
549
  Description: Avoid trailing whitespace.
513
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-trailing-whitespace
550
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#no-trailing-whitespace
514
551
  Enabled: true
@@ -4,7 +4,7 @@ Lint/AmbiguousBlockAssociation:
4
4
  Lint/AmbiguousOperator:
5
5
  Description: Checks for ambiguous operators in the first argument of a method invocation
6
6
  without parentheses.
7
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#parens-as-args
7
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#parens-as-args
8
8
  Enabled: true
9
9
 
10
10
  Lint/AmbiguousRegexpLiteral:
@@ -14,14 +14,13 @@ Lint/AmbiguousRegexpLiteral:
14
14
 
15
15
  Lint/AssignmentInCondition:
16
16
  Description: Don't use assignment in conditions.
17
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#safe-assignment-in-condition
17
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#safe-assignment-in-condition
18
18
  Enabled: true
19
19
  AllowSafeAssignment: false
20
20
 
21
- # Supports --auto-correct
22
- Lint/BlockAlignment:
23
- Description: Align block ends correctly.
24
- Enabled: true
21
+ Lint/BigDecimalNew:
22
+ Description: '`BigDecimal.new()` is deprecated. Use `BigDecimal()` instead.'
23
+ Enabled: false
25
24
 
26
25
  Lint/BooleanSymbol:
27
26
  Enabled: false
@@ -30,22 +29,10 @@ Lint/CircularArgumentReference:
30
29
  Description: Don't refer to the keyword argument in the default value.
31
30
  Enabled: false
32
31
 
33
- Lint/ConditionPosition:
34
- Description: Checks for condition placed in a confusing position relative to the keyword.
35
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#same-line-condition
36
- Enabled: true
37
-
38
32
  Lint/Debugger:
39
33
  Description: Check for debugger calls.
40
34
  Enabled: true
41
35
 
42
- # Supports --auto-correct
43
- Lint/DefEndAlignment:
44
- Description: Align ends corresponding to defs correctly.
45
- Enabled: true
46
- EnforcedStyleAlignWith: start_of_line
47
- AutoCorrect: false
48
-
49
36
  # Supports --auto-correct
50
37
  Lint/DeprecatedClassMethods:
51
38
  Description: Check for deprecated class method calls.
@@ -81,27 +68,13 @@ Lint/EmptyInterpolation:
81
68
  Lint/EmptyWhen:
82
69
  Enabled: false
83
70
 
84
- # Supports --auto-correct
85
- Lint/EndAlignment:
86
- Description: Align ends correctly.
87
- # The value `keyword` means that `end` should be aligned with the matching
88
- # keyword (if, while, etc.).
89
- # The value `variable` means that in assignments, `end` should be aligned
90
- # with the start of the variable on the left hand side of `=`. In all other
91
- # situations, `end` should still be aligned with the keyword.
92
- # The value `start_of_line` means that `end` should be aligned with the start
93
- # of the line which the matching keyword appears on.
94
- Enabled: true
95
- EnforcedStyleAlignWith: keyword
96
- AutoCorrect: false
97
-
98
71
  Lint/EndInMethod:
99
72
  Description: END blocks should not be placed inside method definitions.
100
73
  Enabled: false
101
74
 
102
75
  Lint/EnsureReturn:
103
76
  Description: Do not use return in an ensure block.
104
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-return-ensure
77
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#no-return-ensure
105
78
  Enabled: false
106
79
 
107
80
  Lint/FloatOutOfRange:
@@ -114,7 +87,7 @@ Lint/FormatParameterMismatch:
114
87
 
115
88
  Lint/HandleExceptions:
116
89
  Description: Don't suppress exception.
117
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#dont-hide-exceptions
90
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#dont-hide-exceptions
118
91
  Enabled: false
119
92
 
120
93
  Lint/ImplicitStringConcatenation:
@@ -148,7 +121,7 @@ Lint/LiteralInInterpolation:
148
121
  Lint/Loop:
149
122
  Description: Use Kernel#loop with break rather than begin/end/until or begin/end/while
150
123
  for post-loop tests.
151
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#loop-with-break
124
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#loop-with-break
152
125
  Enabled: false
153
126
 
154
127
  Lint/MissingCopEnableDirective:
@@ -168,7 +141,7 @@ Lint/MultipleCompare:
168
141
 
169
142
  Lint/NestedMethodDefinition:
170
143
  Description: Do not use nested method definitions.
171
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-nested-methods
144
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#no-nested-methods
172
145
  Enabled: false
173
146
 
174
147
  Lint/NextWithoutAccumulator:
@@ -178,9 +151,13 @@ Lint/NonLocalExitFromIterator:
178
151
  Description: Do not use return in iterator to cause non-local exit.
179
152
  Enabled: false
180
153
 
154
+ Lint/OrderedMagicComments:
155
+ Description: 'Checks the proper ordering of magic comments and whether a magic comment is not placed before a shebang.'
156
+ Enabled: true
157
+
181
158
  Lint/ParenthesesAsGroupedExpression:
182
159
  Description: Checks for method calls with a space before the opening parenthesis.
183
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#parens-no-spaces
160
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#parens-no-spaces
184
161
  Enabled: true
185
162
 
186
163
  Lint/PercentStringArray:
@@ -211,7 +188,7 @@ Lint/RequireParentheses:
211
188
 
212
189
  Lint/RescueException:
213
190
  Description: Avoid rescuing the Exception class.
214
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-blind-rescues
191
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#no-blind-rescues
215
192
  Enabled: true
216
193
 
217
194
  Lint/RescueType:
@@ -244,7 +221,7 @@ Lint/ShadowingOuterLocalVariable:
244
221
  # Supports --auto-correct
245
222
  Lint/StringConversionInInterpolation:
246
223
  Description: Checks for Object#to_s usage in string interpolation.
247
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-to-s
224
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#no-to-s
248
225
  Enabled: true
249
226
 
250
227
  Lint/UnderscorePrefixedVariableName:
@@ -254,12 +231,16 @@ Lint/UnderscorePrefixedVariableName:
254
231
  Lint/UnifiedInteger:
255
232
  Enabled: false
256
233
 
257
- Lint/UnneededDisable:
234
+ Lint/UnneededCopDisableDirective:
258
235
  Description: >-
259
236
  Checks for rubocop:disable comments that can be removed.
260
237
  Note: this cop is not disabled when disabling all cops. It must be explicitly disabled.
261
238
  Enabled: true
262
239
 
240
+ Lint/UnneededCopEnableDirective:
241
+ Description: Checks for rubocop:enable comments that can be removed.
242
+ Enabled: true
243
+
263
244
  Lint/UnneededRequireStatement:
264
245
  Enabled: false
265
246
 
@@ -273,13 +254,13 @@ Lint/UnreachableCode:
273
254
  # Supports --auto-correct
274
255
  Lint/UnusedBlockArgument:
275
256
  Description: Checks for unused block arguments.
276
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars
257
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#underscore-unused-vars
277
258
  Enabled: false
278
259
 
279
260
  # Supports --auto-correct
280
261
  Lint/UnusedMethodArgument:
281
262
  Description: Checks for unused method arguments.
282
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars
263
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#underscore-unused-vars
283
264
  Enabled: false
284
265
 
285
266
  Lint/UriEscapeUnescape:
@@ -294,7 +275,7 @@ Lint/UselessAccessModifier:
294
275
 
295
276
  Lint/UselessAssignment:
296
277
  Description: Checks for useless assignment to a local variable.
297
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars
278
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#underscore-unused-vars
298
279
  Enabled: true
299
280
 
300
281
  Lint/UselessComparison: