standard 0.0.37
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.circleci/config.yml +35 -0
- data/.gitignore +8 -0
- data/.standard.yml +4 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +56 -0
- data/LICENSE.txt +24 -0
- data/README.md +365 -0
- data/Rakefile +12 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/config/base.yml +1030 -0
- data/config/ruby-1.8.yml +8 -0
- data/config/ruby-1.9.yml +4 -0
- data/config/ruby-2.2.yml +8 -0
- data/exe/standardrb +7 -0
- data/lib/standard/builds_config.rb +26 -0
- data/lib/standard/cli.rb +23 -0
- data/lib/standard/cop/semantic_blocks.rb +162 -0
- data/lib/standard/creates_config_store/assigns_rubocop_yaml.rb +26 -0
- data/lib/standard/creates_config_store/configures_ignored_paths.rb +45 -0
- data/lib/standard/creates_config_store/sets_target_ruby_version.rb +25 -0
- data/lib/standard/creates_config_store.rb +23 -0
- data/lib/standard/detects_fixability.rb +20 -0
- data/lib/standard/file_finder.rb +13 -0
- data/lib/standard/formatter.rb +79 -0
- data/lib/standard/loads_runner.rb +9 -0
- data/lib/standard/loads_yaml_config.rb +60 -0
- data/lib/standard/merges_settings.rb +64 -0
- data/lib/standard/parses_cli_option.rb +21 -0
- data/lib/standard/railtie.rb +11 -0
- data/lib/standard/rake.rb +26 -0
- data/lib/standard/rubocop/ext.rb +7 -0
- data/lib/standard/runners/help.rb +44 -0
- data/lib/standard/runners/rubocop.rb +36 -0
- data/lib/standard/runners/version.rb +9 -0
- data/lib/standard/version.rb +3 -0
- data/lib/standard.rb +13 -0
- data/standard.gemspec +29 -0
- metadata +179 -0
data/config/base.yml
ADDED
@@ -0,0 +1,1030 @@
|
|
1
|
+
AllCops:
|
2
|
+
# Prevent RuboCop from exploding when it finds an older-than-2.2 .ruby-version
|
3
|
+
TargetRubyVersion: 2.5
|
4
|
+
DisabledByDefault: true
|
5
|
+
Exclude: []
|
6
|
+
|
7
|
+
Bundler/DuplicatedGem:
|
8
|
+
Enabled: true
|
9
|
+
|
10
|
+
Bundler/InsecureProtocolSource:
|
11
|
+
Enabled: true
|
12
|
+
|
13
|
+
Gemspec/DuplicatedAssignment:
|
14
|
+
Enabled: true
|
15
|
+
|
16
|
+
Layout/AccessModifierIndentation:
|
17
|
+
Enabled: true
|
18
|
+
|
19
|
+
Layout/AlignArray:
|
20
|
+
Enabled: true
|
21
|
+
|
22
|
+
Layout/AlignHash:
|
23
|
+
Enabled: true
|
24
|
+
EnforcedHashRocketStyle: key
|
25
|
+
EnforcedColonStyle: key
|
26
|
+
|
27
|
+
Layout/AlignParameters:
|
28
|
+
Enabled: true
|
29
|
+
EnforcedStyle: with_fixed_indentation
|
30
|
+
|
31
|
+
Layout/BlockAlignment:
|
32
|
+
Enabled: true
|
33
|
+
|
34
|
+
Layout/BlockEndNewline:
|
35
|
+
Enabled: true
|
36
|
+
|
37
|
+
# Disabled because IndentOneStep can't be configured for one-liner cases. See:
|
38
|
+
# https://github.com/rubocop-hq/rubocop/issues/6447
|
39
|
+
# Layout/CaseIndentation:
|
40
|
+
# Enabled: true
|
41
|
+
|
42
|
+
Layout/ClosingHeredocIndentation:
|
43
|
+
Enabled: true
|
44
|
+
|
45
|
+
Layout/ClosingParenthesisIndentation:
|
46
|
+
Enabled: true
|
47
|
+
|
48
|
+
Layout/CommentIndentation:
|
49
|
+
Enabled: true
|
50
|
+
|
51
|
+
Layout/ConditionPosition:
|
52
|
+
Enabled: true
|
53
|
+
|
54
|
+
Layout/DefEndAlignment:
|
55
|
+
Enabled: true
|
56
|
+
|
57
|
+
Layout/DotPosition:
|
58
|
+
Enabled: true
|
59
|
+
EnforcedStyle: leading
|
60
|
+
|
61
|
+
Layout/ElseAlignment:
|
62
|
+
Enabled: true
|
63
|
+
|
64
|
+
Layout/EmptyComment:
|
65
|
+
Enabled: true
|
66
|
+
|
67
|
+
Layout/EmptyLineAfterMagicComment:
|
68
|
+
Enabled: true
|
69
|
+
|
70
|
+
Layout/EmptyLineBetweenDefs:
|
71
|
+
Enabled: true
|
72
|
+
|
73
|
+
Layout/EmptyLines:
|
74
|
+
Enabled: true
|
75
|
+
|
76
|
+
Layout/EmptyLinesAroundAccessModifier:
|
77
|
+
Enabled: true
|
78
|
+
|
79
|
+
Layout/EmptyLinesAroundArguments:
|
80
|
+
Enabled: true
|
81
|
+
|
82
|
+
Layout/EmptyLinesAroundBeginBody:
|
83
|
+
Enabled: true
|
84
|
+
|
85
|
+
Layout/EmptyLinesAroundBlockBody:
|
86
|
+
Enabled: true
|
87
|
+
|
88
|
+
Layout/EmptyLinesAroundClassBody:
|
89
|
+
Enabled: true
|
90
|
+
|
91
|
+
Layout/EmptyLinesAroundExceptionHandlingKeywords:
|
92
|
+
Enabled: true
|
93
|
+
|
94
|
+
Layout/EmptyLinesAroundMethodBody:
|
95
|
+
Enabled: true
|
96
|
+
|
97
|
+
Layout/EmptyLinesAroundModuleBody:
|
98
|
+
Enabled: true
|
99
|
+
|
100
|
+
Layout/EndAlignment:
|
101
|
+
Enabled: true
|
102
|
+
AutoCorrect: true
|
103
|
+
EnforcedStyleAlignWith: variable
|
104
|
+
|
105
|
+
Layout/EndOfLine:
|
106
|
+
Enabled: true
|
107
|
+
|
108
|
+
Layout/ExtraSpacing:
|
109
|
+
Enabled: true
|
110
|
+
|
111
|
+
Layout/FirstParameterIndentation:
|
112
|
+
Enabled: true
|
113
|
+
EnforcedStyle: consistent
|
114
|
+
|
115
|
+
Layout/IndentArray:
|
116
|
+
Enabled: true
|
117
|
+
EnforcedStyle: consistent
|
118
|
+
|
119
|
+
Layout/IndentAssignment:
|
120
|
+
Enabled: true
|
121
|
+
|
122
|
+
Layout/IndentHash:
|
123
|
+
Enabled: true
|
124
|
+
EnforcedStyle: consistent
|
125
|
+
|
126
|
+
Layout/IndentHeredoc:
|
127
|
+
Enabled: true
|
128
|
+
|
129
|
+
Layout/IndentationConsistency:
|
130
|
+
Enabled: true
|
131
|
+
|
132
|
+
Layout/IndentationWidth:
|
133
|
+
Enabled: true
|
134
|
+
|
135
|
+
Layout/InitialIndentation:
|
136
|
+
Enabled: true
|
137
|
+
|
138
|
+
Layout/LeadingBlankLines:
|
139
|
+
Enabled: true
|
140
|
+
|
141
|
+
Layout/LeadingCommentSpace:
|
142
|
+
Enabled: true
|
143
|
+
|
144
|
+
Layout/MultilineArrayBraceLayout:
|
145
|
+
Enabled: true
|
146
|
+
|
147
|
+
Layout/MultilineBlockLayout:
|
148
|
+
Enabled: true
|
149
|
+
|
150
|
+
Layout/MultilineHashBraceLayout:
|
151
|
+
Enabled: true
|
152
|
+
|
153
|
+
Layout/MultilineMethodCallBraceLayout:
|
154
|
+
Enabled: true
|
155
|
+
|
156
|
+
Layout/MultilineMethodCallIndentation:
|
157
|
+
Enabled: true
|
158
|
+
EnforcedStyle: indented
|
159
|
+
|
160
|
+
Layout/MultilineMethodDefinitionBraceLayout:
|
161
|
+
Enabled: true
|
162
|
+
|
163
|
+
Layout/MultilineOperationIndentation:
|
164
|
+
Enabled: true
|
165
|
+
EnforcedStyle: indented
|
166
|
+
|
167
|
+
Layout/RescueEnsureAlignment:
|
168
|
+
Enabled: true
|
169
|
+
|
170
|
+
Layout/SpaceAfterColon:
|
171
|
+
Enabled: true
|
172
|
+
|
173
|
+
Layout/SpaceAfterComma:
|
174
|
+
Enabled: true
|
175
|
+
|
176
|
+
Layout/SpaceAfterMethodName:
|
177
|
+
Enabled: true
|
178
|
+
|
179
|
+
Layout/SpaceAfterNot:
|
180
|
+
Enabled: true
|
181
|
+
|
182
|
+
Layout/SpaceAfterSemicolon:
|
183
|
+
Enabled: true
|
184
|
+
|
185
|
+
Layout/SpaceAroundBlockParameters:
|
186
|
+
Enabled: true
|
187
|
+
|
188
|
+
Layout/SpaceAroundEqualsInParameterDefault:
|
189
|
+
Enabled: true
|
190
|
+
|
191
|
+
Layout/SpaceAroundKeyword:
|
192
|
+
Enabled: true
|
193
|
+
|
194
|
+
Layout/SpaceAroundOperators:
|
195
|
+
Enabled: true
|
196
|
+
|
197
|
+
Layout/SpaceBeforeBlockBraces:
|
198
|
+
Enabled: true
|
199
|
+
|
200
|
+
Layout/SpaceBeforeComma:
|
201
|
+
Enabled: true
|
202
|
+
|
203
|
+
Layout/SpaceBeforeComment:
|
204
|
+
Enabled: true
|
205
|
+
|
206
|
+
Layout/SpaceBeforeFirstArg:
|
207
|
+
Enabled: true
|
208
|
+
|
209
|
+
Layout/SpaceBeforeSemicolon:
|
210
|
+
Enabled: true
|
211
|
+
|
212
|
+
Layout/SpaceInLambdaLiteral:
|
213
|
+
Enabled: true
|
214
|
+
|
215
|
+
Layout/SpaceInsideArrayLiteralBrackets:
|
216
|
+
Enabled: true
|
217
|
+
|
218
|
+
Layout/SpaceInsideArrayPercentLiteral:
|
219
|
+
Enabled: true
|
220
|
+
|
221
|
+
# Disabled without this:
|
222
|
+
# http://github.com/rubocop-hq/rubocop/issues/6446
|
223
|
+
# Layout/SpaceInsideBlockBraces:
|
224
|
+
# Enabled: false
|
225
|
+
|
226
|
+
Layout/SpaceInsideHashLiteralBraces:
|
227
|
+
Enabled: true
|
228
|
+
EnforcedStyle: no_space
|
229
|
+
|
230
|
+
Layout/SpaceInsideParens:
|
231
|
+
Enabled: true
|
232
|
+
|
233
|
+
Layout/SpaceInsidePercentLiteralDelimiters:
|
234
|
+
Enabled: true
|
235
|
+
|
236
|
+
Layout/SpaceInsideRangeLiteral:
|
237
|
+
Enabled: true
|
238
|
+
|
239
|
+
Layout/SpaceInsideReferenceBrackets:
|
240
|
+
Enabled: true
|
241
|
+
|
242
|
+
Layout/SpaceInsideStringInterpolation:
|
243
|
+
Enabled: true
|
244
|
+
|
245
|
+
Layout/Tab:
|
246
|
+
Enabled: true
|
247
|
+
|
248
|
+
Layout/TrailingBlankLines:
|
249
|
+
Enabled: true
|
250
|
+
|
251
|
+
Layout/TrailingWhitespace:
|
252
|
+
Enabled: true
|
253
|
+
|
254
|
+
Lint/AmbiguousBlockAssociation:
|
255
|
+
Enabled: true
|
256
|
+
|
257
|
+
Lint/AmbiguousOperator:
|
258
|
+
Enabled: true
|
259
|
+
|
260
|
+
Lint/AmbiguousRegexpLiteral:
|
261
|
+
Enabled: true
|
262
|
+
|
263
|
+
Lint/AssignmentInCondition:
|
264
|
+
Enabled: true
|
265
|
+
|
266
|
+
Lint/BigDecimalNew:
|
267
|
+
Enabled: true
|
268
|
+
|
269
|
+
Lint/BooleanSymbol:
|
270
|
+
Enabled: true
|
271
|
+
|
272
|
+
Lint/CircularArgumentReference:
|
273
|
+
Enabled: true
|
274
|
+
|
275
|
+
Lint/Debugger:
|
276
|
+
Enabled: true
|
277
|
+
|
278
|
+
Lint/DeprecatedClassMethods:
|
279
|
+
Enabled: true
|
280
|
+
|
281
|
+
Lint/DuplicateCaseCondition:
|
282
|
+
Enabled: true
|
283
|
+
|
284
|
+
Lint/DuplicateMethods:
|
285
|
+
Enabled: true
|
286
|
+
|
287
|
+
Lint/DuplicatedKey:
|
288
|
+
Enabled: true
|
289
|
+
|
290
|
+
Lint/EachWithObjectArgument:
|
291
|
+
Enabled: true
|
292
|
+
|
293
|
+
Lint/ElseLayout:
|
294
|
+
Enabled: true
|
295
|
+
|
296
|
+
Lint/EmptyEnsure:
|
297
|
+
Enabled: true
|
298
|
+
|
299
|
+
Lint/EmptyExpression:
|
300
|
+
Enabled: true
|
301
|
+
|
302
|
+
Lint/EmptyInterpolation:
|
303
|
+
Enabled: true
|
304
|
+
|
305
|
+
Lint/EmptyWhen:
|
306
|
+
Enabled: true
|
307
|
+
|
308
|
+
Lint/EndInMethod:
|
309
|
+
Enabled: true
|
310
|
+
|
311
|
+
Lint/EnsureReturn:
|
312
|
+
Enabled: true
|
313
|
+
|
314
|
+
Lint/ErbNewArguments:
|
315
|
+
Enabled: true
|
316
|
+
|
317
|
+
Lint/FlipFlop:
|
318
|
+
Enabled: true
|
319
|
+
|
320
|
+
Lint/FloatOutOfRange:
|
321
|
+
Enabled: true
|
322
|
+
|
323
|
+
Lint/FormatParameterMismatch:
|
324
|
+
Enabled: true
|
325
|
+
|
326
|
+
Lint/ImplicitStringConcatenation:
|
327
|
+
Enabled: true
|
328
|
+
|
329
|
+
Lint/IneffectiveAccessModifier:
|
330
|
+
Enabled: true
|
331
|
+
|
332
|
+
Lint/InheritException:
|
333
|
+
Enabled: true
|
334
|
+
|
335
|
+
Lint/InterpolationCheck:
|
336
|
+
Enabled: true
|
337
|
+
|
338
|
+
Lint/LiteralAsCondition:
|
339
|
+
Enabled: true
|
340
|
+
|
341
|
+
Lint/LiteralInInterpolation:
|
342
|
+
Enabled: true
|
343
|
+
|
344
|
+
Lint/Loop:
|
345
|
+
Enabled: true
|
346
|
+
|
347
|
+
Lint/MissingCopEnableDirective:
|
348
|
+
Enabled: true
|
349
|
+
|
350
|
+
Lint/MultipleCompare:
|
351
|
+
Enabled: true
|
352
|
+
|
353
|
+
Lint/NestedMethodDefinition:
|
354
|
+
Enabled: true
|
355
|
+
|
356
|
+
Lint/NestedPercentLiteral:
|
357
|
+
Enabled: true
|
358
|
+
|
359
|
+
Lint/NextWithoutAccumulator:
|
360
|
+
Enabled: true
|
361
|
+
|
362
|
+
Lint/NonLocalExitFromIterator:
|
363
|
+
Enabled: true
|
364
|
+
|
365
|
+
Lint/OrderedMagicComments:
|
366
|
+
Enabled: true
|
367
|
+
|
368
|
+
Lint/ParenthesesAsGroupedExpression:
|
369
|
+
Enabled: true
|
370
|
+
|
371
|
+
Lint/PercentSymbolArray:
|
372
|
+
Enabled: true
|
373
|
+
|
374
|
+
Lint/RandOne:
|
375
|
+
Enabled: true
|
376
|
+
|
377
|
+
Lint/RedundantWithIndex:
|
378
|
+
Enabled: true
|
379
|
+
|
380
|
+
Lint/RedundantWithObject:
|
381
|
+
Enabled: true
|
382
|
+
|
383
|
+
Lint/RegexpAsCondition:
|
384
|
+
Enabled: true
|
385
|
+
|
386
|
+
Lint/RequireParentheses:
|
387
|
+
Enabled: true
|
388
|
+
|
389
|
+
Lint/RescueException:
|
390
|
+
Enabled: true
|
391
|
+
|
392
|
+
Lint/RescueType:
|
393
|
+
Enabled: true
|
394
|
+
|
395
|
+
Lint/ReturnInVoidContext:
|
396
|
+
Enabled: true
|
397
|
+
|
398
|
+
Lint/SafeNavigationChain:
|
399
|
+
Enabled: true
|
400
|
+
|
401
|
+
Lint/SafeNavigationConsistency:
|
402
|
+
Enabled: true
|
403
|
+
|
404
|
+
Lint/ShadowedArgument:
|
405
|
+
Enabled: true
|
406
|
+
|
407
|
+
Lint/ShadowedException:
|
408
|
+
Enabled: true
|
409
|
+
|
410
|
+
Lint/ShadowingOuterLocalVariable:
|
411
|
+
Enabled: true
|
412
|
+
|
413
|
+
Lint/StringConversionInInterpolation:
|
414
|
+
Enabled: true
|
415
|
+
|
416
|
+
Lint/Syntax:
|
417
|
+
Enabled: true
|
418
|
+
|
419
|
+
Lint/UnderscorePrefixedVariableName:
|
420
|
+
Enabled: true
|
421
|
+
|
422
|
+
Lint/UnifiedInteger:
|
423
|
+
Enabled: true
|
424
|
+
|
425
|
+
Lint/UnneededRequireStatement:
|
426
|
+
Enabled: true
|
427
|
+
|
428
|
+
Lint/UnneededSplatExpansion:
|
429
|
+
Enabled: true
|
430
|
+
|
431
|
+
Lint/UnreachableCode:
|
432
|
+
Enabled: true
|
433
|
+
|
434
|
+
Lint/UriEscapeUnescape:
|
435
|
+
Enabled: true
|
436
|
+
|
437
|
+
Lint/UriRegexp:
|
438
|
+
Enabled: true
|
439
|
+
|
440
|
+
Lint/UselessAssignment:
|
441
|
+
Enabled: true
|
442
|
+
|
443
|
+
Lint/UselessComparison:
|
444
|
+
Enabled: true
|
445
|
+
|
446
|
+
Lint/UselessElseWithoutRescue:
|
447
|
+
Enabled: true
|
448
|
+
|
449
|
+
Lint/UselessSetterCall:
|
450
|
+
Enabled: true
|
451
|
+
|
452
|
+
Lint/Void:
|
453
|
+
Enabled: true
|
454
|
+
|
455
|
+
Naming/AccessorMethodName:
|
456
|
+
Enabled: true
|
457
|
+
|
458
|
+
Naming/AsciiIdentifiers:
|
459
|
+
Enabled: true
|
460
|
+
|
461
|
+
Naming/BinaryOperatorParameterName:
|
462
|
+
Enabled: true
|
463
|
+
|
464
|
+
Naming/ClassAndModuleCamelCase:
|
465
|
+
Enabled: true
|
466
|
+
|
467
|
+
Naming/ConstantName:
|
468
|
+
Enabled: true
|
469
|
+
|
470
|
+
Naming/HeredocDelimiterCase:
|
471
|
+
Enabled: true
|
472
|
+
|
473
|
+
Naming/MethodName:
|
474
|
+
Enabled: true
|
475
|
+
|
476
|
+
Naming/UncommunicativeBlockParamName:
|
477
|
+
Enabled: true
|
478
|
+
|
479
|
+
Naming/VariableName:
|
480
|
+
Enabled: true
|
481
|
+
|
482
|
+
Performance/Caller:
|
483
|
+
Enabled: true
|
484
|
+
|
485
|
+
Performance/CompareWithBlock:
|
486
|
+
Enabled: true
|
487
|
+
|
488
|
+
Performance/Count:
|
489
|
+
Enabled: true
|
490
|
+
|
491
|
+
Performance/Detect:
|
492
|
+
Enabled: true
|
493
|
+
|
494
|
+
Performance/DoubleStartEndWith:
|
495
|
+
Enabled: true
|
496
|
+
|
497
|
+
Performance/EndWith:
|
498
|
+
Enabled: true
|
499
|
+
|
500
|
+
Performance/FixedSize:
|
501
|
+
Enabled: true
|
502
|
+
|
503
|
+
Performance/FlatMap:
|
504
|
+
Enabled: true
|
505
|
+
|
506
|
+
Performance/InefficientHashSearch:
|
507
|
+
Enabled: true
|
508
|
+
|
509
|
+
Performance/RangeInclude:
|
510
|
+
Enabled: true
|
511
|
+
|
512
|
+
Performance/RedundantMatch:
|
513
|
+
Enabled: true
|
514
|
+
|
515
|
+
Performance/RedundantMerge:
|
516
|
+
Enabled: true
|
517
|
+
|
518
|
+
Performance/RegexpMatch:
|
519
|
+
Enabled: true
|
520
|
+
|
521
|
+
Performance/ReverseEach:
|
522
|
+
Enabled: true
|
523
|
+
|
524
|
+
Performance/Size:
|
525
|
+
Enabled: true
|
526
|
+
|
527
|
+
Performance/StartWith:
|
528
|
+
Enabled: true
|
529
|
+
|
530
|
+
Performance/StringReplacement:
|
531
|
+
Enabled: true
|
532
|
+
|
533
|
+
Performance/UnfreezeString:
|
534
|
+
Enabled: true
|
535
|
+
|
536
|
+
Performance/UriDefaultParser:
|
537
|
+
Enabled: true
|
538
|
+
|
539
|
+
Rails/ActionFilter:
|
540
|
+
Enabled: true
|
541
|
+
|
542
|
+
Rails/ActiveRecordAliases:
|
543
|
+
Enabled: true
|
544
|
+
|
545
|
+
Rails/ActiveSupportAliases:
|
546
|
+
Enabled: true
|
547
|
+
|
548
|
+
Rails/ApplicationJob:
|
549
|
+
Enabled: true
|
550
|
+
|
551
|
+
Rails/ApplicationRecord:
|
552
|
+
Enabled: true
|
553
|
+
|
554
|
+
Rails/AssertNot:
|
555
|
+
Enabled: true
|
556
|
+
|
557
|
+
Rails/Blank:
|
558
|
+
Enabled: true
|
559
|
+
|
560
|
+
Rails/BulkChangeTable:
|
561
|
+
Enabled: true
|
562
|
+
|
563
|
+
Rails/CreateTableWithTimestamps:
|
564
|
+
Enabled: true
|
565
|
+
|
566
|
+
Rails/Date:
|
567
|
+
Enabled: true
|
568
|
+
|
569
|
+
Rails/Delegate:
|
570
|
+
Enabled: true
|
571
|
+
|
572
|
+
Rails/DelegateAllowBlank:
|
573
|
+
Enabled: true
|
574
|
+
|
575
|
+
Rails/DynamicFindBy:
|
576
|
+
Enabled: true
|
577
|
+
|
578
|
+
Rails/EnumUniqueness:
|
579
|
+
Enabled: true
|
580
|
+
|
581
|
+
Rails/EnvironmentComparison:
|
582
|
+
Enabled: true
|
583
|
+
|
584
|
+
Rails/Exit:
|
585
|
+
Enabled: true
|
586
|
+
|
587
|
+
Rails/FilePath:
|
588
|
+
Enabled: true
|
589
|
+
|
590
|
+
Rails/FindBy:
|
591
|
+
Enabled: true
|
592
|
+
|
593
|
+
Rails/FindEach:
|
594
|
+
Enabled: true
|
595
|
+
|
596
|
+
Rails/HasAndBelongsToMany:
|
597
|
+
Enabled: true
|
598
|
+
|
599
|
+
Rails/HasManyOrHasOneDependent:
|
600
|
+
Enabled: true
|
601
|
+
|
602
|
+
Rails/HttpPositionalArguments:
|
603
|
+
Enabled: true
|
604
|
+
|
605
|
+
Rails/HttpStatus:
|
606
|
+
Enabled: true
|
607
|
+
|
608
|
+
Rails/InverseOf:
|
609
|
+
Enabled: true
|
610
|
+
|
611
|
+
Rails/LexicallyScopedActionFilter:
|
612
|
+
Enabled: true
|
613
|
+
|
614
|
+
Rails/NotNullColumn:
|
615
|
+
Enabled: true
|
616
|
+
|
617
|
+
Rails/Output:
|
618
|
+
Enabled: true
|
619
|
+
|
620
|
+
Rails/OutputSafety:
|
621
|
+
Enabled: true
|
622
|
+
|
623
|
+
Rails/PluralizationGrammar:
|
624
|
+
Enabled: true
|
625
|
+
|
626
|
+
Rails/Presence:
|
627
|
+
Enabled: true
|
628
|
+
|
629
|
+
Rails/Present:
|
630
|
+
Enabled: true
|
631
|
+
|
632
|
+
Rails/ReadWriteAttribute:
|
633
|
+
Enabled: true
|
634
|
+
|
635
|
+
Rails/RedundantReceiverInWithOptions:
|
636
|
+
Enabled: true
|
637
|
+
|
638
|
+
Rails/RefuteMethods:
|
639
|
+
Enabled: true
|
640
|
+
|
641
|
+
Rails/RelativeDateConstant:
|
642
|
+
Enabled: true
|
643
|
+
|
644
|
+
Rails/RequestReferer:
|
645
|
+
Enabled: true
|
646
|
+
|
647
|
+
Rails/ReversibleMigration:
|
648
|
+
Enabled: true
|
649
|
+
|
650
|
+
Rails/SafeNavigation:
|
651
|
+
Enabled: true
|
652
|
+
|
653
|
+
Rails/ScopeArgs:
|
654
|
+
Enabled: true
|
655
|
+
|
656
|
+
Rails/TimeZone:
|
657
|
+
Enabled: true
|
658
|
+
|
659
|
+
Rails/UniqBeforePluck:
|
660
|
+
Enabled: true
|
661
|
+
|
662
|
+
Rails/Validation:
|
663
|
+
Enabled: true
|
664
|
+
|
665
|
+
Security/Eval:
|
666
|
+
Enabled: true
|
667
|
+
|
668
|
+
Security/JSONLoad:
|
669
|
+
Enabled: true
|
670
|
+
|
671
|
+
Security/Open:
|
672
|
+
Enabled: true
|
673
|
+
|
674
|
+
Security/YAMLLoad:
|
675
|
+
Enabled: true
|
676
|
+
|
677
|
+
|
678
|
+
Standard/SemanticBlocks:
|
679
|
+
ProceduralMethods:
|
680
|
+
- benchmark
|
681
|
+
- bm
|
682
|
+
- bmbm
|
683
|
+
- tap
|
684
|
+
# Enumerable
|
685
|
+
- cycle
|
686
|
+
- each
|
687
|
+
- each_cons
|
688
|
+
- each_entry
|
689
|
+
- each_slice
|
690
|
+
- each_with_index
|
691
|
+
# Rails
|
692
|
+
- transaction
|
693
|
+
FunctionalMethods:
|
694
|
+
- let
|
695
|
+
- let!
|
696
|
+
- subject
|
697
|
+
- watch
|
698
|
+
- Given
|
699
|
+
- Given!
|
700
|
+
- Invariant
|
701
|
+
- Then
|
702
|
+
- And
|
703
|
+
IgnoredMethods:
|
704
|
+
- lambda
|
705
|
+
- proc
|
706
|
+
- describe
|
707
|
+
- it
|
708
|
+
- When
|
709
|
+
|
710
|
+
Style/Alias:
|
711
|
+
Enabled: true
|
712
|
+
|
713
|
+
Style/AndOr:
|
714
|
+
Enabled: true
|
715
|
+
|
716
|
+
Style/ArrayJoin:
|
717
|
+
Enabled: true
|
718
|
+
|
719
|
+
Style/Attr:
|
720
|
+
Enabled: true
|
721
|
+
|
722
|
+
Style/BarePercentLiterals:
|
723
|
+
Enabled: true
|
724
|
+
|
725
|
+
Style/BeginBlock:
|
726
|
+
Enabled: true
|
727
|
+
|
728
|
+
Style/BlockComments:
|
729
|
+
Enabled: true
|
730
|
+
|
731
|
+
Style/CharacterLiteral:
|
732
|
+
Enabled: true
|
733
|
+
|
734
|
+
Style/ClassCheck:
|
735
|
+
Enabled: true
|
736
|
+
|
737
|
+
Style/ClassMethods:
|
738
|
+
Enabled: true
|
739
|
+
|
740
|
+
Style/ColonMethodCall:
|
741
|
+
Enabled: true
|
742
|
+
|
743
|
+
Style/ColonMethodDefinition:
|
744
|
+
Enabled: true
|
745
|
+
|
746
|
+
Style/CommandLiteral:
|
747
|
+
Enabled: true
|
748
|
+
|
749
|
+
Style/CommentedKeyword:
|
750
|
+
Enabled: true
|
751
|
+
|
752
|
+
Style/ConditionalAssignment:
|
753
|
+
Enabled: true
|
754
|
+
|
755
|
+
Style/DefWithParentheses:
|
756
|
+
Enabled: true
|
757
|
+
|
758
|
+
Style/Dir:
|
759
|
+
Enabled: true
|
760
|
+
|
761
|
+
Style/EachForSimpleLoop:
|
762
|
+
Enabled: true
|
763
|
+
|
764
|
+
Style/EachWithObject:
|
765
|
+
Enabled: true
|
766
|
+
|
767
|
+
Style/EmptyBlockParameter:
|
768
|
+
Enabled: true
|
769
|
+
|
770
|
+
Style/EmptyCaseCondition:
|
771
|
+
Enabled: true
|
772
|
+
|
773
|
+
Style/EmptyElse:
|
774
|
+
Enabled: true
|
775
|
+
|
776
|
+
Style/EmptyLambdaParameter:
|
777
|
+
Enabled: true
|
778
|
+
|
779
|
+
Style/EmptyLiteral:
|
780
|
+
Enabled: true
|
781
|
+
|
782
|
+
Style/EmptyMethod:
|
783
|
+
Enabled: true
|
784
|
+
EnforcedStyle: expanded
|
785
|
+
|
786
|
+
Style/Encoding:
|
787
|
+
Enabled: true
|
788
|
+
|
789
|
+
Style/EndBlock:
|
790
|
+
Enabled: true
|
791
|
+
|
792
|
+
Style/EvalWithLocation:
|
793
|
+
Enabled: true
|
794
|
+
|
795
|
+
Style/For:
|
796
|
+
Enabled: true
|
797
|
+
|
798
|
+
Style/GlobalVars:
|
799
|
+
Enabled: true
|
800
|
+
|
801
|
+
Style/HashSyntax:
|
802
|
+
Enabled: true
|
803
|
+
EnforcedStyle: ruby19_no_mixed_keys
|
804
|
+
|
805
|
+
Style/IdenticalConditionalBranches:
|
806
|
+
Enabled: true
|
807
|
+
|
808
|
+
Style/IfInsideElse:
|
809
|
+
Enabled: true
|
810
|
+
|
811
|
+
Style/IfUnlessModifierOfIfUnless:
|
812
|
+
Enabled: true
|
813
|
+
|
814
|
+
Style/IfWithSemicolon:
|
815
|
+
Enabled: true
|
816
|
+
|
817
|
+
Style/InfiniteLoop:
|
818
|
+
Enabled: true
|
819
|
+
|
820
|
+
Style/LambdaCall:
|
821
|
+
Enabled: true
|
822
|
+
|
823
|
+
Style/LineEndConcatenation:
|
824
|
+
Enabled: true
|
825
|
+
|
826
|
+
Style/MethodCallWithoutArgsParentheses:
|
827
|
+
Enabled: true
|
828
|
+
|
829
|
+
Style/MethodMissingSuper:
|
830
|
+
Enabled: true
|
831
|
+
|
832
|
+
Style/MissingRespondToMissing:
|
833
|
+
Enabled: true
|
834
|
+
|
835
|
+
Style/MixinGrouping:
|
836
|
+
Enabled: true
|
837
|
+
|
838
|
+
Style/MixinUsage:
|
839
|
+
Enabled: true
|
840
|
+
|
841
|
+
Style/MultilineIfModifier:
|
842
|
+
Enabled: true
|
843
|
+
|
844
|
+
Style/MultilineIfThen:
|
845
|
+
Enabled: true
|
846
|
+
|
847
|
+
Style/MultilineMemoization:
|
848
|
+
Enabled: true
|
849
|
+
|
850
|
+
Style/NegatedIf:
|
851
|
+
Enabled: true
|
852
|
+
|
853
|
+
Style/NegatedWhile:
|
854
|
+
Enabled: true
|
855
|
+
|
856
|
+
Style/NestedModifier:
|
857
|
+
Enabled: true
|
858
|
+
|
859
|
+
Style/NestedParenthesizedCalls:
|
860
|
+
Enabled: true
|
861
|
+
|
862
|
+
Style/NestedTernaryOperator:
|
863
|
+
Enabled: true
|
864
|
+
|
865
|
+
Style/NilComparison:
|
866
|
+
Enabled: true
|
867
|
+
|
868
|
+
Style/NonNilCheck:
|
869
|
+
Enabled: true
|
870
|
+
|
871
|
+
Style/Not:
|
872
|
+
Enabled: true
|
873
|
+
|
874
|
+
Style/NumericLiteralPrefix:
|
875
|
+
Enabled: true
|
876
|
+
|
877
|
+
Style/OneLineConditional:
|
878
|
+
Enabled: true
|
879
|
+
|
880
|
+
Style/OptionalArguments:
|
881
|
+
Enabled: true
|
882
|
+
|
883
|
+
Style/OrAssignment:
|
884
|
+
Enabled: true
|
885
|
+
|
886
|
+
Style/ParenthesesAroundCondition:
|
887
|
+
Enabled: true
|
888
|
+
|
889
|
+
Style/PercentLiteralDelimiters:
|
890
|
+
Enabled: true
|
891
|
+
|
892
|
+
Style/PercentQLiterals:
|
893
|
+
Enabled: true
|
894
|
+
|
895
|
+
Style/PreferredHashMethods:
|
896
|
+
Enabled: true
|
897
|
+
|
898
|
+
Style/Proc:
|
899
|
+
Enabled: true
|
900
|
+
|
901
|
+
Style/RandomWithOffset:
|
902
|
+
Enabled: true
|
903
|
+
|
904
|
+
Style/RedundantBegin:
|
905
|
+
Enabled: true
|
906
|
+
|
907
|
+
Style/RedundantConditional:
|
908
|
+
Enabled: true
|
909
|
+
|
910
|
+
Style/RedundantException:
|
911
|
+
Enabled: true
|
912
|
+
|
913
|
+
Style/RedundantFreeze:
|
914
|
+
Enabled: true
|
915
|
+
|
916
|
+
Style/RedundantParentheses:
|
917
|
+
Enabled: true
|
918
|
+
|
919
|
+
Style/RedundantReturn:
|
920
|
+
Enabled: true
|
921
|
+
|
922
|
+
Style/RedundantSelf:
|
923
|
+
Enabled: true
|
924
|
+
|
925
|
+
Style/RedundantSortBy:
|
926
|
+
Enabled: true
|
927
|
+
|
928
|
+
Style/RescueModifier:
|
929
|
+
Enabled: true
|
930
|
+
|
931
|
+
Style/RescueStandardError:
|
932
|
+
Enabled: true
|
933
|
+
EnforcedStyle: implicit
|
934
|
+
|
935
|
+
Style/SafeNavigation:
|
936
|
+
Enabled: true
|
937
|
+
|
938
|
+
Style/Sample:
|
939
|
+
Enabled: true
|
940
|
+
|
941
|
+
Style/SelfAssignment:
|
942
|
+
Enabled: true
|
943
|
+
|
944
|
+
Style/Semicolon:
|
945
|
+
Enabled: true
|
946
|
+
|
947
|
+
Style/SingleLineMethods:
|
948
|
+
Enabled: true
|
949
|
+
|
950
|
+
Style/StabbyLambdaParentheses:
|
951
|
+
Enabled: true
|
952
|
+
|
953
|
+
Style/StderrPuts:
|
954
|
+
Enabled: true
|
955
|
+
|
956
|
+
Style/StringLiterals:
|
957
|
+
Enabled: true
|
958
|
+
EnforcedStyle: double_quotes
|
959
|
+
|
960
|
+
Style/StringLiteralsInInterpolation:
|
961
|
+
Enabled: true
|
962
|
+
EnforcedStyle: double_quotes
|
963
|
+
|
964
|
+
Style/Strip:
|
965
|
+
Enabled: true
|
966
|
+
|
967
|
+
Style/SymbolLiteral:
|
968
|
+
Enabled: true
|
969
|
+
|
970
|
+
Style/TernaryParentheses:
|
971
|
+
Enabled: true
|
972
|
+
|
973
|
+
Style/TrailingBodyOnClass:
|
974
|
+
Enabled: true
|
975
|
+
|
976
|
+
Style/TrailingBodyOnMethodDefinition:
|
977
|
+
Enabled: true
|
978
|
+
|
979
|
+
Style/TrailingBodyOnModule:
|
980
|
+
Enabled: true
|
981
|
+
|
982
|
+
Style/TrailingCommaInArrayLiteral:
|
983
|
+
Enabled: true
|
984
|
+
EnforcedStyleForMultiline: consistent_comma
|
985
|
+
|
986
|
+
Style/TrailingCommaInHashLiteral:
|
987
|
+
Enabled: true
|
988
|
+
EnforcedStyleForMultiline: consistent_comma
|
989
|
+
|
990
|
+
Style/TrailingMethodEndStatement:
|
991
|
+
Enabled: true
|
992
|
+
|
993
|
+
Style/TrivialAccessors:
|
994
|
+
Enabled: true
|
995
|
+
|
996
|
+
Style/UnlessElse:
|
997
|
+
Enabled: true
|
998
|
+
|
999
|
+
Style/UnneededCapitalW:
|
1000
|
+
Enabled: true
|
1001
|
+
|
1002
|
+
Style/UnneededCondition:
|
1003
|
+
Enabled: true
|
1004
|
+
|
1005
|
+
Style/UnneededInterpolation:
|
1006
|
+
Enabled: true
|
1007
|
+
|
1008
|
+
Style/UnneededPercentQ:
|
1009
|
+
Enabled: true
|
1010
|
+
|
1011
|
+
Style/UnneededSort:
|
1012
|
+
Enabled: true
|
1013
|
+
|
1014
|
+
Style/UnpackFirst:
|
1015
|
+
Enabled: true
|
1016
|
+
|
1017
|
+
Style/VariableInterpolation:
|
1018
|
+
Enabled: true
|
1019
|
+
|
1020
|
+
Style/WhenThen:
|
1021
|
+
Enabled: true
|
1022
|
+
|
1023
|
+
Style/WhileUntilDo:
|
1024
|
+
Enabled: true
|
1025
|
+
|
1026
|
+
Style/WhileUntilModifier:
|
1027
|
+
Enabled: true
|
1028
|
+
|
1029
|
+
Style/YodaCondition:
|
1030
|
+
Enabled: true
|