house_style 2.3.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -1
- data/features/rubocop.yml +0 -8
- data/house_style.gemspec +5 -6
- data/lib/generators/house_style/templates/rspec_rubocop.yml +0 -2
- data/lib/generators/house_style/templates/rubocop.yml +2 -0
- data/performance/rubocop.yml +58 -3
- data/rails/db_migrate.yml +0 -8
- data/rails/rubocop.yml +118 -19
- data/rspec/rubocop.yml +96 -23
- data/ruby/configuration.yml +9 -10
- data/ruby/rubocop.yml +729 -4
- metadata +12 -33
- data/performance/default_rules.yml +0 -32
- data/rails/default_rules.yml +0 -34
- data/rails/style.yml +0 -29
- data/rake/rubocop.yml +0 -1
- data/ruby/default_rules.yml +0 -60
- data/ruby/metrics.yml +0 -2
- data/ruby/style.yml +0 -66
data/ruby/rubocop.yml
CHANGED
@@ -1,7 +1,732 @@
|
|
1
1
|
inherit_from:
|
2
2
|
- ./configuration.yml
|
3
|
-
- ./metrics.yml
|
4
|
-
- ./style.yml
|
5
|
-
- ./default_rules.yml
|
6
|
-
- ../rake/rubocop.yml
|
7
3
|
- ../performance/rubocop.yml
|
4
|
+
|
5
|
+
Bundler/DuplicatedGem:
|
6
|
+
Enabled: true
|
7
|
+
Bundler/InsecureProtocolSource:
|
8
|
+
Enabled: true
|
9
|
+
AllowHttpProtocol: false
|
10
|
+
Bundler/OrderedGems:
|
11
|
+
Enabled: true
|
12
|
+
|
13
|
+
Gemspec/DuplicatedAssignment:
|
14
|
+
Enabled: true
|
15
|
+
|
16
|
+
Layout/AccessModifierIndentation:
|
17
|
+
Enabled: true
|
18
|
+
Layout/ArgumentAlignment:
|
19
|
+
Enabled: true
|
20
|
+
Layout/ArrayAlignment:
|
21
|
+
Enabled: true
|
22
|
+
Layout/AssignmentIndentation:
|
23
|
+
Enabled: true
|
24
|
+
Layout/BeginEndAlignment:
|
25
|
+
Enabled: true
|
26
|
+
Layout/BlockAlignment:
|
27
|
+
Enabled: true
|
28
|
+
Layout/BlockEndNewline:
|
29
|
+
Enabled: true
|
30
|
+
Layout/CaseIndentation:
|
31
|
+
Enabled: true
|
32
|
+
Layout/ClosingHeredocIndentation:
|
33
|
+
Enabled: true
|
34
|
+
Layout/ClosingParenthesisIndentation:
|
35
|
+
Enabled: true
|
36
|
+
Layout/CommentIndentation:
|
37
|
+
Enabled: true
|
38
|
+
Layout/ConditionPosition:
|
39
|
+
Enabled: true
|
40
|
+
Layout/DefEndAlignment:
|
41
|
+
Enabled: true
|
42
|
+
Layout/DotPosition:
|
43
|
+
Enabled: true
|
44
|
+
Layout/ElseAlignment:
|
45
|
+
Enabled: true
|
46
|
+
Layout/EmptyComment:
|
47
|
+
Enabled: true
|
48
|
+
Layout/EmptyLineAfterGuardClause:
|
49
|
+
Enabled: true
|
50
|
+
Layout/EmptyLineBetweenDefs:
|
51
|
+
Enabled: true
|
52
|
+
AllowAdjacentOneLineDefs: true
|
53
|
+
Layout/EmptyLines:
|
54
|
+
Enabled: true
|
55
|
+
Layout/EmptyLinesAroundAccessModifier:
|
56
|
+
Enabled: true
|
57
|
+
Layout/EmptyLinesAroundArguments:
|
58
|
+
Enabled: true
|
59
|
+
Layout/EmptyLinesAroundAttributeAccessor:
|
60
|
+
Enabled: true
|
61
|
+
Layout/EmptyLinesAroundBeginBody:
|
62
|
+
Enabled: true
|
63
|
+
Layout/EmptyLinesAroundBlockBody:
|
64
|
+
Enabled: true
|
65
|
+
Layout/EmptyLinesAroundClassBody:
|
66
|
+
Enabled: true
|
67
|
+
Layout/EmptyLinesAroundExceptionHandlingKeywords:
|
68
|
+
Enabled: true
|
69
|
+
Layout/EmptyLinesAroundMethodBody:
|
70
|
+
Enabled: true
|
71
|
+
Layout/EmptyLinesAroundModuleBody:
|
72
|
+
Enabled: true
|
73
|
+
Layout/EndAlignment:
|
74
|
+
Enabled: true
|
75
|
+
Layout/EndOfLine:
|
76
|
+
Enabled: true
|
77
|
+
Layout/ExtraSpacing:
|
78
|
+
Enabled: true
|
79
|
+
Layout/FirstArgumentIndentation:
|
80
|
+
Enabled: true
|
81
|
+
Layout/FirstArrayElementIndentation:
|
82
|
+
Enabled: true
|
83
|
+
EnforcedStyle: consistent
|
84
|
+
Layout/FirstHashElementIndentation:
|
85
|
+
Enabled: true
|
86
|
+
EnforcedStyle: consistent
|
87
|
+
Layout/FirstParameterIndentation:
|
88
|
+
Enabled: true
|
89
|
+
Layout/HashAlignment:
|
90
|
+
Enabled: true
|
91
|
+
Layout/HeredocIndentation:
|
92
|
+
Enabled: true
|
93
|
+
Layout/IndentationConsistency:
|
94
|
+
Enabled: true
|
95
|
+
Layout/IndentationStyle:
|
96
|
+
Enabled: true
|
97
|
+
Layout/IndentationWidth:
|
98
|
+
Enabled: true
|
99
|
+
Layout/InitialIndentation:
|
100
|
+
Enabled: true
|
101
|
+
Layout/LeadingCommentSpace:
|
102
|
+
Enabled: true
|
103
|
+
Layout/LeadingEmptyLines:
|
104
|
+
Enabled: true
|
105
|
+
Layout/LineContinuationSpacing:
|
106
|
+
Enabled: true
|
107
|
+
Layout/LineEndStringConcatenationIndentation:
|
108
|
+
Enabled: true
|
109
|
+
Layout/LineLength:
|
110
|
+
Details: If lines are too short, methods become hard to read because you must constantly jump from line to line. If lines are too long, following the flow can be hard because it becomes harder to scan back and locate the start of the next line. 80 characters is generally a bit too short; 120 characters is a good compromise.
|
111
|
+
Max: 120
|
112
|
+
AutoCorrect: true
|
113
|
+
AllowedPatterns: ['logger', "(?:'.*')", '(?:".*")', 'description', 'desc']
|
114
|
+
Layout/MultilineArrayBraceLayout:
|
115
|
+
Enabled: true
|
116
|
+
Layout/MultilineArrayLineBreaks:
|
117
|
+
Enabled: true
|
118
|
+
Layout/MultilineBlockLayout:
|
119
|
+
Enabled: true
|
120
|
+
Layout/MultilineHashBraceLayout:
|
121
|
+
Enabled: true
|
122
|
+
Layout/MultilineHashKeyLineBreaks:
|
123
|
+
Enabled: true
|
124
|
+
Layout/MultilineMethodArgumentLineBreaks:
|
125
|
+
Enabled: true
|
126
|
+
Layout/MultilineMethodCallBraceLayout:
|
127
|
+
Enabled: true
|
128
|
+
Layout/MultilineMethodCallIndentation:
|
129
|
+
Enabled: true
|
130
|
+
EnforcedStyle: indented
|
131
|
+
Layout/MultilineMethodDefinitionBraceLayout:
|
132
|
+
Enabled: true
|
133
|
+
Layout/MultilineMethodParameterLineBreaks:
|
134
|
+
Enabled: true
|
135
|
+
Layout/MultilineOperationIndentation:
|
136
|
+
Enabled: true
|
137
|
+
Layout/ParameterAlignment:
|
138
|
+
Enabled: true
|
139
|
+
Layout/RescueEnsureAlignment:
|
140
|
+
Enabled: true
|
141
|
+
Layout/SpaceAfterColon:
|
142
|
+
Enabled: true
|
143
|
+
Layout/SpaceAfterComma:
|
144
|
+
Enabled: true
|
145
|
+
Layout/SpaceAfterMethodName:
|
146
|
+
Enabled: true
|
147
|
+
Layout/SpaceAfterNot:
|
148
|
+
Enabled: true
|
149
|
+
Layout/SpaceAfterSemicolon:
|
150
|
+
Enabled: true
|
151
|
+
Layout/SpaceAroundBlockParameters:
|
152
|
+
Enabled: true
|
153
|
+
Layout/SpaceAroundEqualsInParameterDefault:
|
154
|
+
Enabled: true
|
155
|
+
Layout/SpaceAroundKeyword:
|
156
|
+
Enabled: true
|
157
|
+
Layout/SpaceAroundMethodCallOperator:
|
158
|
+
Enabled: true
|
159
|
+
Layout/SpaceAroundOperators:
|
160
|
+
Enabled: true
|
161
|
+
Layout/SpaceBeforeBlockBraces:
|
162
|
+
Enabled: true
|
163
|
+
Layout/SpaceBeforeBrackets:
|
164
|
+
Enabled: true
|
165
|
+
Layout/SpaceBeforeComma:
|
166
|
+
Enabled: true
|
167
|
+
Layout/SpaceBeforeComment:
|
168
|
+
Enabled: true
|
169
|
+
Layout/SpaceBeforeFirstArg:
|
170
|
+
Enabled: true
|
171
|
+
Layout/SpaceBeforeSemicolon:
|
172
|
+
Enabled: true
|
173
|
+
Layout/SpaceInLambdaLiteral:
|
174
|
+
Enabled: true
|
175
|
+
Layout/SpaceInsideArrayLiteralBrackets:
|
176
|
+
Enabled: true
|
177
|
+
Layout/SpaceInsideArrayPercentLiteral:
|
178
|
+
Enabled: true
|
179
|
+
Layout/SpaceInsideBlockBraces:
|
180
|
+
Enabled: true
|
181
|
+
Layout/SpaceInsideHashLiteralBraces:
|
182
|
+
Enabled: true
|
183
|
+
Layout/SpaceInsideParens:
|
184
|
+
Enabled: true
|
185
|
+
Layout/SpaceInsidePercentLiteralDelimiters:
|
186
|
+
Enabled: true
|
187
|
+
Layout/SpaceInsideRangeLiteral:
|
188
|
+
Enabled: true
|
189
|
+
Layout/SpaceInsideReferenceBrackets:
|
190
|
+
Enabled: true
|
191
|
+
Layout/SpaceInsideStringInterpolation:
|
192
|
+
Enabled: true
|
193
|
+
Layout/TrailingEmptyLines:
|
194
|
+
Enabled: true
|
195
|
+
Layout/TrailingWhitespace:
|
196
|
+
Enabled: true
|
197
|
+
|
198
|
+
Lint/AmbiguousAssignment:
|
199
|
+
Enabled: true
|
200
|
+
Lint/AmbiguousBlockAssociation:
|
201
|
+
Enabled: true
|
202
|
+
Lint/AmbiguousOperator:
|
203
|
+
Enabled: true
|
204
|
+
Lint/AmbiguousOperatorPrecedence:
|
205
|
+
Enabled: true
|
206
|
+
Lint/AmbiguousRange:
|
207
|
+
Enabled: true
|
208
|
+
Lint/AmbiguousRegexpLiteral:
|
209
|
+
Enabled: true
|
210
|
+
Lint/AssignmentInCondition:
|
211
|
+
Enabled: true
|
212
|
+
Lint/BigDecimalNew:
|
213
|
+
Enabled: true
|
214
|
+
Lint/BinaryOperatorWithIdenticalOperands:
|
215
|
+
Enabled: true
|
216
|
+
Lint/BooleanSymbol:
|
217
|
+
Enabled: true
|
218
|
+
Lint/CircularArgumentReference:
|
219
|
+
Enabled: true
|
220
|
+
Lint/ConstantOverwrittenInRescue:
|
221
|
+
Enabled: true
|
222
|
+
Lint/Debugger:
|
223
|
+
Enabled: true
|
224
|
+
Lint/DeprecatedClassMethods:
|
225
|
+
Enabled: true
|
226
|
+
Lint/DeprecatedConstants:
|
227
|
+
Enabled: true
|
228
|
+
Lint/DeprecatedOpenSSLConstant:
|
229
|
+
Enabled: true
|
230
|
+
Lint/DisjunctiveAssignmentInConstructor:
|
231
|
+
Enabled: true
|
232
|
+
Lint/DuplicateCaseCondition:
|
233
|
+
Enabled: true
|
234
|
+
Lint/DuplicateElsifCondition:
|
235
|
+
Enabled: true
|
236
|
+
Lint/DuplicateHashKey:
|
237
|
+
Enabled: true
|
238
|
+
Lint/DuplicateMethods:
|
239
|
+
Enabled: true
|
240
|
+
Lint/DuplicateRegexpCharacterClassElement:
|
241
|
+
Enabled: true
|
242
|
+
Lint/DuplicateRequire:
|
243
|
+
Enabled: true
|
244
|
+
Lint/DuplicateRescueException:
|
245
|
+
Enabled: true
|
246
|
+
Lint/EachWithObjectArgument:
|
247
|
+
Enabled: true
|
248
|
+
Lint/ElseLayout:
|
249
|
+
Enabled: true
|
250
|
+
Lint/EmptyClass:
|
251
|
+
Enabled: true
|
252
|
+
Lint/EmptyConditionalBody:
|
253
|
+
Enabled: true
|
254
|
+
Lint/EmptyEnsure:
|
255
|
+
Enabled: true
|
256
|
+
Lint/EmptyExpression:
|
257
|
+
Enabled: true
|
258
|
+
Lint/EmptyFile:
|
259
|
+
Enabled: true
|
260
|
+
Lint/FloatOutOfRange:
|
261
|
+
Enabled: true
|
262
|
+
Lint/FormatParameterMismatch:
|
263
|
+
Enabled: true
|
264
|
+
Lint/IncompatibleIoSelectWithFiberScheduler:
|
265
|
+
Enabled: true
|
266
|
+
Lint/IneffectiveAccessModifier:
|
267
|
+
Enabled: true
|
268
|
+
Lint/LambdaWithoutLiteralBlock:
|
269
|
+
Enabled: true
|
270
|
+
Lint/LiteralAsCondition:
|
271
|
+
Enabled: true
|
272
|
+
Lint/LiteralInInterpolation:
|
273
|
+
Enabled: true
|
274
|
+
Lint/Loop:
|
275
|
+
Enabled: true
|
276
|
+
Lint/MissingCopEnableDirective:
|
277
|
+
Enabled: true
|
278
|
+
Lint/MixedRegexpCaptureTypes:
|
279
|
+
Enabled: true
|
280
|
+
Lint/MultipleComparison:
|
281
|
+
Enabled: true
|
282
|
+
Lint/NestedMethodDefinition:
|
283
|
+
Enabled: true
|
284
|
+
Lint/NestedPercentLiteral:
|
285
|
+
Enabled: true
|
286
|
+
Lint/NextWithoutAccumulator:
|
287
|
+
Enabled: true
|
288
|
+
Lint/NonAtomicFileOperation:
|
289
|
+
Enabled: true
|
290
|
+
Lint/NumberedParameterAssignment:
|
291
|
+
Enabled: true
|
292
|
+
Lint/OrAssignmentToConstant:
|
293
|
+
Enabled: true
|
294
|
+
Lint/ParenthesesAsGroupedExpression:
|
295
|
+
Enabled: true
|
296
|
+
Lint/PercentSymbolArray:
|
297
|
+
Enabled: true
|
298
|
+
Lint/RandOne:
|
299
|
+
Enabled: true
|
300
|
+
Lint/RedundantCopDisableDirective:
|
301
|
+
Enabled: true
|
302
|
+
Lint/RedundantCopEnableDirective:
|
303
|
+
Enabled: true
|
304
|
+
Lint/RedundantDirGlobSort:
|
305
|
+
Enabled: true
|
306
|
+
Lint/RedundantRequireStatement:
|
307
|
+
Enabled: true
|
308
|
+
Lint/RedundantSafeNavigation:
|
309
|
+
Enabled: true
|
310
|
+
Lint/RedundantSplatExpansion:
|
311
|
+
Enabled: true
|
312
|
+
Lint/RedundantStringCoercion:
|
313
|
+
Enabled: true
|
314
|
+
Lint/RedundantWithIndex:
|
315
|
+
Enabled: true
|
316
|
+
Lint/RedundantWithObject:
|
317
|
+
Enabled: true
|
318
|
+
Lint/RegexpAsCondition:
|
319
|
+
Enabled: true
|
320
|
+
Lint/RequireParentheses:
|
321
|
+
Enabled: true
|
322
|
+
Lint/RequireRelativeSelfPath:
|
323
|
+
Enabled: true
|
324
|
+
Lint/RescueException:
|
325
|
+
Enabled: true
|
326
|
+
Lint/RescueType:
|
327
|
+
Enabled: true
|
328
|
+
Lint/ReturnInVoidContext:
|
329
|
+
Enabled: true
|
330
|
+
Lint/SafeNavigationChain:
|
331
|
+
Enabled: true
|
332
|
+
Lint/SafeNavigationConsistency:
|
333
|
+
Enabled: true
|
334
|
+
Lint/SafeNavigationWithEmpty:
|
335
|
+
Enabled: true
|
336
|
+
Lint/ScriptPermission:
|
337
|
+
Enabled: true
|
338
|
+
Lint/SelfAssignment:
|
339
|
+
Enabled: true
|
340
|
+
Lint/ShadowedArgument:
|
341
|
+
Enabled: true
|
342
|
+
Lint/ShadowedException:
|
343
|
+
Enabled: true
|
344
|
+
Lint/ShadowingOuterLocalVariable:
|
345
|
+
Enabled: true
|
346
|
+
Lint/SymbolConversion:
|
347
|
+
Enabled: true
|
348
|
+
Lint/ToEnumArguments:
|
349
|
+
Enabled: true
|
350
|
+
Lint/ToJSON:
|
351
|
+
Enabled: true
|
352
|
+
Lint/TopLevelReturnWithArgument:
|
353
|
+
Enabled: true
|
354
|
+
Lint/TrailingCommaInAttributeDeclaration:
|
355
|
+
Enabled: true
|
356
|
+
Lint/TripleQuotes:
|
357
|
+
Enabled: true
|
358
|
+
Lint/UnderscorePrefixedVariableName:
|
359
|
+
Enabled: true
|
360
|
+
Lint/UnexpectedBlockArity:
|
361
|
+
Enabled: true
|
362
|
+
Lint/UnifiedInteger:
|
363
|
+
Enabled: true
|
364
|
+
Lint/UnmodifiedReduceAccumulator:
|
365
|
+
Enabled: true
|
366
|
+
Lint/UnreachableCode:
|
367
|
+
Enabled: true
|
368
|
+
Lint/UnreachableLoop:
|
369
|
+
Enabled: true
|
370
|
+
Lint/UnusedBlockArgument:
|
371
|
+
Enabled: true
|
372
|
+
Lint/UnusedMethodArgument:
|
373
|
+
Enabled: true
|
374
|
+
Lint/UriEscapeUnescape:
|
375
|
+
Enabled: true
|
376
|
+
Lint/UriRegexp:
|
377
|
+
Enabled: true
|
378
|
+
Lint/UselessAccessModifier:
|
379
|
+
Enabled: true
|
380
|
+
Lint/UselessAssignment:
|
381
|
+
Enabled: true
|
382
|
+
Lint/UselessElseWithoutRescue:
|
383
|
+
Enabled: true
|
384
|
+
Lint/UselessMethodDefinition:
|
385
|
+
Enabled: true
|
386
|
+
Lint/UselessRuby2Keywords:
|
387
|
+
Enabled: true
|
388
|
+
Lint/UselessSetterCall:
|
389
|
+
Enabled: true
|
390
|
+
Lint/UselessTimes:
|
391
|
+
Enabled: true
|
392
|
+
Lint/Void:
|
393
|
+
Enabled: true
|
394
|
+
|
395
|
+
Migration/DepartmentName:
|
396
|
+
Enabled: true
|
397
|
+
|
398
|
+
Naming/AccessorMethodName:
|
399
|
+
Enabled: true
|
400
|
+
Naming/AsciiIdentifiers:
|
401
|
+
Enabled: true
|
402
|
+
Naming/BlockParameterName:
|
403
|
+
Enabled: true
|
404
|
+
AllowNamesEndingInNumbers: true
|
405
|
+
Naming/ClassAndModuleCamelCase:
|
406
|
+
Enabled: true
|
407
|
+
Naming/ConstantName:
|
408
|
+
Enabled: true
|
409
|
+
Naming/FileName:
|
410
|
+
Enabled: true
|
411
|
+
Naming/HeredocDelimiterCase:
|
412
|
+
Enabled: true
|
413
|
+
Naming/MemoizedInstanceVariableName:
|
414
|
+
Enabled: true
|
415
|
+
Naming/MethodName:
|
416
|
+
Enabled: true
|
417
|
+
Naming/MethodParameterName:
|
418
|
+
Enabled: true
|
419
|
+
Naming/PredicateName:
|
420
|
+
Enabled: true
|
421
|
+
Naming/VariableName:
|
422
|
+
Enabled: true
|
423
|
+
|
424
|
+
Security/CompoundHash:
|
425
|
+
Enabled: true
|
426
|
+
Security/Eval:
|
427
|
+
Enabled: true
|
428
|
+
Security/IoMethods:
|
429
|
+
Enabled: true
|
430
|
+
Security/JSONLoad:
|
431
|
+
Enabled: true
|
432
|
+
Security/MarshalLoad:
|
433
|
+
Enabled: true
|
434
|
+
Security/Open:
|
435
|
+
Enabled: true
|
436
|
+
Security/YAMLLoad:
|
437
|
+
Enabled: true
|
438
|
+
|
439
|
+
Style/AccessModifierDeclarations:
|
440
|
+
Enabled: true
|
441
|
+
Style/AccessorGrouping:
|
442
|
+
Enabled: true
|
443
|
+
Style/Alias:
|
444
|
+
Enabled: true
|
445
|
+
Style/AndOr:
|
446
|
+
Enabled: true
|
447
|
+
Style/ArrayJoin:
|
448
|
+
Enabled: true
|
449
|
+
Style/ArgumentsForwarding:
|
450
|
+
Enabled: true
|
451
|
+
Style/Attr:
|
452
|
+
Enabled: true
|
453
|
+
Style/BeginBlock:
|
454
|
+
Enabled: true
|
455
|
+
Style/BisectedAttrAccessor:
|
456
|
+
Enabled: true
|
457
|
+
Style/BlockComments:
|
458
|
+
Enabled: true
|
459
|
+
Style/BlockDelimiters:
|
460
|
+
EnforcedStyle: semantic
|
461
|
+
FunctionalMethods:
|
462
|
+
- before
|
463
|
+
- given
|
464
|
+
- given!
|
465
|
+
- watch
|
466
|
+
- times
|
467
|
+
- try
|
468
|
+
- debug
|
469
|
+
- error
|
470
|
+
- info
|
471
|
+
- warning
|
472
|
+
- let
|
473
|
+
- let!
|
474
|
+
- subject
|
475
|
+
- watch
|
476
|
+
Style/CharacterLiteral:
|
477
|
+
Enabled: true
|
478
|
+
Style/ClassMethods:
|
479
|
+
Enabled: true
|
480
|
+
Style/CollectionCompact:
|
481
|
+
Enabled: true
|
482
|
+
Style/CollectionMethods:
|
483
|
+
Enabled: true
|
484
|
+
Style/ColonMethodCall:
|
485
|
+
Enabled: true
|
486
|
+
Style/ColonMethodDefinition:
|
487
|
+
Enabled: true
|
488
|
+
Style/CombinableLoops:
|
489
|
+
Enabled: true
|
490
|
+
Style/CommandLiteral:
|
491
|
+
EnforcedStyle: mixed
|
492
|
+
Style/DefWithParentheses:
|
493
|
+
Enabled: true
|
494
|
+
Style/Dir:
|
495
|
+
Enabled: true
|
496
|
+
Style/DocumentDynamicEvalDefinition:
|
497
|
+
Enabled: true
|
498
|
+
Style/DoubleCopDisableDirective:
|
499
|
+
Enabled: true
|
500
|
+
Style/EachForSimpleLoop:
|
501
|
+
Enabled: true
|
502
|
+
Style/EachWithObject:
|
503
|
+
Enabled: true
|
504
|
+
Style/EmptyBlockParameter:
|
505
|
+
Enabled: true
|
506
|
+
Style/EmptyCaseCondition:
|
507
|
+
Enabled: true
|
508
|
+
Style/EmptyElse:
|
509
|
+
Enabled: true
|
510
|
+
Style/EmptyHeredoc:
|
511
|
+
Enabled: true
|
512
|
+
Style/EmptyLambdaParameter:
|
513
|
+
Enabled: true
|
514
|
+
Style/EmptyLiteral:
|
515
|
+
Enabled: true
|
516
|
+
Style/EndBlock:
|
517
|
+
Enabled: true
|
518
|
+
Style/EndlessMethod:
|
519
|
+
Enabled: true
|
520
|
+
Style/EvenOdd:
|
521
|
+
Enabled: true
|
522
|
+
Style/ExpandPathArguments:
|
523
|
+
Enabled: true
|
524
|
+
Style/ExplicitBlockArgument:
|
525
|
+
Enabled: true
|
526
|
+
Style/FileRead:
|
527
|
+
Enabled: true
|
528
|
+
Style/FileWrite:
|
529
|
+
Enabled: true
|
530
|
+
Style/For:
|
531
|
+
Enabled: true
|
532
|
+
Style/FormatString:
|
533
|
+
Enabled: true
|
534
|
+
Style/FormatStringToken:
|
535
|
+
Enabled: true
|
536
|
+
Style/GuardClause:
|
537
|
+
MinBodyLength: 3
|
538
|
+
Style/HashConversion:
|
539
|
+
Enabled: true
|
540
|
+
Style/HashEachMethods:
|
541
|
+
Enabled: true
|
542
|
+
Style/HashExcept:
|
543
|
+
Enabled: true
|
544
|
+
Style/HashSyntax:
|
545
|
+
EnforcedStyle: ruby19_no_mixed_keys
|
546
|
+
Style/HashTransformKeys:
|
547
|
+
Enabled: true
|
548
|
+
Style/HashTransformValues:
|
549
|
+
Enabled: true
|
550
|
+
Style/IdenticalConditionalBranches:
|
551
|
+
Enabled: true
|
552
|
+
Style/IfInsideElse:
|
553
|
+
Enabled: true
|
554
|
+
Style/IfUnlessModifier:
|
555
|
+
Enabled: true
|
556
|
+
Style/IfUnlessModifierOfIfUnless:
|
557
|
+
Enabled: true
|
558
|
+
Style/IfWithBooleanLiteralBranches:
|
559
|
+
Enabled: true
|
560
|
+
Style/IfWithSemicolon:
|
561
|
+
Enabled: true
|
562
|
+
Style/InPatternThen:
|
563
|
+
Enabled: true
|
564
|
+
Style/InfiniteLoop:
|
565
|
+
Enabled: true
|
566
|
+
Style/InverseMethods:
|
567
|
+
Enabled: true
|
568
|
+
Style/LambdaCall:
|
569
|
+
Enabled: true
|
570
|
+
Style/MapCompactWithConditionalBlock:
|
571
|
+
Enabled: true
|
572
|
+
Style/MapToHash:
|
573
|
+
Enabled: true
|
574
|
+
Style/MethodCallWithoutArgsParentheses:
|
575
|
+
Enabled: true
|
576
|
+
Style/MethodDefParentheses:
|
577
|
+
Enabled: true
|
578
|
+
Style/MinMax:
|
579
|
+
Enabled: true
|
580
|
+
Style/MultilineIfModifier:
|
581
|
+
Enabled: true
|
582
|
+
Style/MultilineIfThen:
|
583
|
+
Enabled: true
|
584
|
+
Style/MultilineMemoization:
|
585
|
+
Enabled: true
|
586
|
+
Style/MultilineTernaryOperator:
|
587
|
+
Enabled: true
|
588
|
+
Style/MultipleComparison:
|
589
|
+
Enabled: true
|
590
|
+
Style/NegatedIfElseCondition:
|
591
|
+
Enabled: true
|
592
|
+
Style/NegatedUnless:
|
593
|
+
Enabled: true
|
594
|
+
Style/NestedFileDirname:
|
595
|
+
Enabled: true
|
596
|
+
Style/NestedModifier:
|
597
|
+
Enabled: true
|
598
|
+
Style/NestedParenthesizedCalls:
|
599
|
+
Enabled: true
|
600
|
+
Style/NestedTernaryOperator:
|
601
|
+
Enabled: true
|
602
|
+
Style/Next:
|
603
|
+
Enabled: true
|
604
|
+
Style/NilComparison:
|
605
|
+
Enabled: true
|
606
|
+
Style/NilLambda:
|
607
|
+
Enabled: true
|
608
|
+
Style/NonNilCheck:
|
609
|
+
Enabled: true
|
610
|
+
IncludeSemanticChanges: true
|
611
|
+
Style/Not:
|
612
|
+
Enabled: true
|
613
|
+
Style/NumericLiteralPrefix:
|
614
|
+
Enabled: true
|
615
|
+
Style/NumericLiterals:
|
616
|
+
MinDigits: 6
|
617
|
+
Style/OneLineConditional:
|
618
|
+
Enabled: true
|
619
|
+
Style/OrAssignment:
|
620
|
+
Enabled: true
|
621
|
+
Style/ParenthesesAroundCondition:
|
622
|
+
Enabled: true
|
623
|
+
Style/PercentLiteralDelimiters:
|
624
|
+
Enabled: true
|
625
|
+
Style/PercentQLiterals:
|
626
|
+
Enabled: true
|
627
|
+
Style/PerlBackrefs:
|
628
|
+
Enabled: true
|
629
|
+
Style/Proc:
|
630
|
+
Enabled: true
|
631
|
+
Style/QuotedSymbols:
|
632
|
+
Enabled: true
|
633
|
+
Style/RaiseArgs:
|
634
|
+
Enabled: true
|
635
|
+
Style/RandomWithOffset:
|
636
|
+
Enabled: true
|
637
|
+
Style/RedundantAssignment:
|
638
|
+
Enabled: true
|
639
|
+
Style/RedundantBegin:
|
640
|
+
Enabled: true
|
641
|
+
Style/RedundantCapitalW:
|
642
|
+
Enabled: true
|
643
|
+
Style/RedundantCondition:
|
644
|
+
Enabled: true
|
645
|
+
Style/RedundantConditional:
|
646
|
+
Enabled: true
|
647
|
+
Style/RedundantFileExtensionInRequire:
|
648
|
+
Enabled: true
|
649
|
+
Style/RedundantFreeze:
|
650
|
+
Enabled: true
|
651
|
+
Style/RedundantParentheses:
|
652
|
+
Enabled: true
|
653
|
+
Style/RedundantPercentQ:
|
654
|
+
Enabled: true
|
655
|
+
Style/RedundantRegexpCharacterClass:
|
656
|
+
Enabled: true
|
657
|
+
Style/RedundantRegexpEscape:
|
658
|
+
Enabled: true
|
659
|
+
Style/RedundantReturn:
|
660
|
+
Enabled: true
|
661
|
+
AllowMultipleReturnValues: true
|
662
|
+
Style/RedundantSelf:
|
663
|
+
Enabled: true
|
664
|
+
Style/RedundantSelfAssignment:
|
665
|
+
Enabled: true
|
666
|
+
Style/RedundantSelfAssignmentBranch:
|
667
|
+
Enabled: true
|
668
|
+
Style/RedundantSort:
|
669
|
+
Enabled: true
|
670
|
+
Style/RedundantSortBy:
|
671
|
+
Enabled: true
|
672
|
+
Style/RescueModifier:
|
673
|
+
Enabled: true
|
674
|
+
Style/RescueStandardError:
|
675
|
+
Enabled: true
|
676
|
+
Style/ReturnNil:
|
677
|
+
Enabled: true
|
678
|
+
Style/SafeNavigation:
|
679
|
+
Enabled: true
|
680
|
+
Style/Sample:
|
681
|
+
Enabled: true
|
682
|
+
Style/SelectByRegexp:
|
683
|
+
Enabled: true
|
684
|
+
Style/Semicolon:
|
685
|
+
Enabled: true
|
686
|
+
AllowAsExpressionSeparator: true
|
687
|
+
Style/SignalException:
|
688
|
+
Enabled: true
|
689
|
+
EnforcedStyle: semantic
|
690
|
+
Style/SoleNestedConditional:
|
691
|
+
Enabled: true
|
692
|
+
Style/StabbyLambdaParentheses:
|
693
|
+
Enabled: true
|
694
|
+
Style/StringLiterals:
|
695
|
+
Enabled: true
|
696
|
+
Style/StringLiteralsInInterpolation:
|
697
|
+
Enabled: true
|
698
|
+
Style/Strip:
|
699
|
+
Enabled: true
|
700
|
+
Style/SymbolLiteral:
|
701
|
+
Enabled: true
|
702
|
+
Style/TernaryParentheses:
|
703
|
+
Enabled: true
|
704
|
+
EnforcedStyle: require_parentheses_when_complex
|
705
|
+
Style/TrailingBodyOnClass:
|
706
|
+
Enabled: true
|
707
|
+
Style/TrailingBodyOnMethodDefinition:
|
708
|
+
Enabled: true
|
709
|
+
Style/TrailingBodyOnModule:
|
710
|
+
Enabled: true
|
711
|
+
Style/TrailingCommaInArguments:
|
712
|
+
Enabled: true
|
713
|
+
Style/TrailingCommaInArrayLiteral:
|
714
|
+
Enabled: true
|
715
|
+
Style/TrailingCommaInHashLiteral:
|
716
|
+
Enabled: true
|
717
|
+
Style/TrailingMethodEndStatement:
|
718
|
+
Enabled: true
|
719
|
+
Style/TrailingUnderscoreVariable:
|
720
|
+
Enabled: true
|
721
|
+
Style/TrivialAccessors:
|
722
|
+
Enabled: true
|
723
|
+
Style/UnlessElse:
|
724
|
+
Enabled: true
|
725
|
+
Style/UnpackFirst:
|
726
|
+
Enabled: true
|
727
|
+
Style/VariableInterpolation:
|
728
|
+
Enabled: true
|
729
|
+
Style/WhenThen:
|
730
|
+
Enabled: true
|
731
|
+
Style/WhileUntilDo:
|
732
|
+
Enabled: true
|