renuocop 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/base.yml +835 -0
- data/lib/renuocop/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6320a0b7669bb6c5239aef5d8c7579420ca46d9b803f7b166d446e34ee8399d7
|
4
|
+
data.tar.gz: 95fc89ef106401ec535b85d231f60f63efbc5dfe9b0d7c2a85a29fdcff285abc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f59b890ccdca2dcc3dc0e5b2be038464f78d6cd1fea0246fbbd0ee7b2923e06da0b91df2410a001c0664c5ade17590053d3c12f7edea005746730f6b7546bcd5
|
7
|
+
data.tar.gz: 5ea8fff7eeb20b2765edaf9e0b9d0e631f9b6c91188717751cb0c56f8dab59f290a37df930da0c3ee996c6fd28940bf8eeaa854cfc596fcb5ae36cbafe594d71
|
data/config/base.yml
ADDED
@@ -0,0 +1,835 @@
|
|
1
|
+
require:
|
2
|
+
- rubocop-performance
|
3
|
+
- rubocop-rails
|
4
|
+
- rubocop-rspec
|
5
|
+
- standard
|
6
|
+
|
7
|
+
inherit_gem:
|
8
|
+
standard: config/base.yml
|
9
|
+
|
10
|
+
Bundler/DuplicatedGem:
|
11
|
+
Enabled: true
|
12
|
+
|
13
|
+
Bundler/GemFilename:
|
14
|
+
Enabled: true
|
15
|
+
|
16
|
+
Bundler/InsecureProtocolSource:
|
17
|
+
Enabled: true
|
18
|
+
|
19
|
+
Gemspec/DeprecatedAttributeAssignment:
|
20
|
+
Enabled: true
|
21
|
+
|
22
|
+
Gemspec/DuplicatedAssignment:
|
23
|
+
Enabled: true
|
24
|
+
|
25
|
+
Gemspec/OrderedDependencies:
|
26
|
+
Enabled: true
|
27
|
+
|
28
|
+
Gemspec/RequireMFA:
|
29
|
+
Enabled: true
|
30
|
+
|
31
|
+
Gemspec/RequiredRubyVersion:
|
32
|
+
Enabled: true
|
33
|
+
|
34
|
+
Gemspec/RubyVersionGlobalsUsage:
|
35
|
+
Enabled: true
|
36
|
+
|
37
|
+
Layout/ArgumentAlignment:
|
38
|
+
EnforcedStyle: with_first_argument
|
39
|
+
|
40
|
+
Layout/ArrayAlignment:
|
41
|
+
EnforcedStyle: with_first_element
|
42
|
+
|
43
|
+
Layout/CaseIndentation:
|
44
|
+
EnforcedStyle: case
|
45
|
+
|
46
|
+
Layout/EmptyLineAfterGuardClause:
|
47
|
+
Enabled: true
|
48
|
+
|
49
|
+
Layout/EmptyLineBetweenDefs:
|
50
|
+
AllowAdjacentOneLineDefs: true
|
51
|
+
|
52
|
+
Layout/EmptyLinesAroundAttributeAccessor:
|
53
|
+
Enabled: true
|
54
|
+
|
55
|
+
Layout/EndAlignment:
|
56
|
+
EnforcedStyleAlignWith: keyword
|
57
|
+
|
58
|
+
Layout/ExtraSpacing:
|
59
|
+
AllowForAlignment: true
|
60
|
+
AllowBeforeTrailingComments: false
|
61
|
+
|
62
|
+
Layout/FirstArgumentIndentation:
|
63
|
+
EnforcedStyle: special_for_inner_method_call_in_parentheses
|
64
|
+
|
65
|
+
Layout/FirstArrayElementIndentation:
|
66
|
+
EnforcedStyle: special_inside_parentheses
|
67
|
+
|
68
|
+
Layout/FirstHashElementIndentation:
|
69
|
+
EnforcedStyle: special_inside_parentheses
|
70
|
+
|
71
|
+
Layout/FirstParameterIndentation:
|
72
|
+
Enabled: true
|
73
|
+
|
74
|
+
Layout/LineContinuationLeadingSpace:
|
75
|
+
Enabled: true
|
76
|
+
|
77
|
+
Layout/LineContinuationSpacing:
|
78
|
+
Enabled: true
|
79
|
+
|
80
|
+
Layout/LineEndStringConcatenationIndentation:
|
81
|
+
Enabled: true
|
82
|
+
|
83
|
+
Layout/LineLength:
|
84
|
+
Enabled: true
|
85
|
+
Max: 120
|
86
|
+
|
87
|
+
Layout/MultilineMethodCallIndentation:
|
88
|
+
EnforcedStyle: aligned
|
89
|
+
|
90
|
+
Layout/MultilineOperationIndentation:
|
91
|
+
EnforcedStyle: aligned
|
92
|
+
|
93
|
+
Layout/ParameterAlignment:
|
94
|
+
EnforcedStyle: with_first_parameter
|
95
|
+
|
96
|
+
Layout/SpaceBeforeBrackets:
|
97
|
+
Enabled: true
|
98
|
+
|
99
|
+
Layout/SpaceInsideHashLiteralBraces:
|
100
|
+
EnforcedStyle: space
|
101
|
+
|
102
|
+
Layout/TrailingWhitespace:
|
103
|
+
AllowInHeredoc: false
|
104
|
+
|
105
|
+
Lint/AmbiguousAssignment:
|
106
|
+
Enabled: true
|
107
|
+
|
108
|
+
Lint/AmbiguousBlockAssociation:
|
109
|
+
Enabled: true
|
110
|
+
|
111
|
+
Lint/AmbiguousOperatorPrecedence:
|
112
|
+
Enabled: true
|
113
|
+
|
114
|
+
Lint/AmbiguousRange:
|
115
|
+
Enabled: true
|
116
|
+
|
117
|
+
Lint/ConstantOverwrittenInRescue:
|
118
|
+
Enabled: true
|
119
|
+
|
120
|
+
Lint/DeprecatedConstants:
|
121
|
+
Enabled: true
|
122
|
+
|
123
|
+
Lint/DisjunctiveAssignmentInConstructor:
|
124
|
+
Enabled: true
|
125
|
+
|
126
|
+
Lint/DuplicateBranch:
|
127
|
+
Enabled: true
|
128
|
+
|
129
|
+
Lint/DuplicateMagicComment:
|
130
|
+
Enabled: true
|
131
|
+
|
132
|
+
Lint/DuplicateRegexpCharacterClassElement:
|
133
|
+
Enabled: true
|
134
|
+
|
135
|
+
Lint/EmptyBlock:
|
136
|
+
Enabled: true
|
137
|
+
|
138
|
+
Lint/EmptyClass:
|
139
|
+
Enabled: true
|
140
|
+
|
141
|
+
Lint/EmptyConditionalBody:
|
142
|
+
Enabled: true
|
143
|
+
|
144
|
+
Lint/EmptyFile:
|
145
|
+
Enabled: true
|
146
|
+
|
147
|
+
Lint/EmptyInPattern:
|
148
|
+
Enabled: true
|
149
|
+
|
150
|
+
Lint/HashCompareByIdentity:
|
151
|
+
Enabled: true
|
152
|
+
|
153
|
+
Lint/IncompatibleIoSelectWithFiberScheduler:
|
154
|
+
Enabled: true
|
155
|
+
|
156
|
+
Lint/InheritException:
|
157
|
+
EnforcedStyle: standard_error
|
158
|
+
|
159
|
+
Lint/LambdaWithoutLiteralBlock:
|
160
|
+
Enabled: true
|
161
|
+
|
162
|
+
Lint/MissingSuper:
|
163
|
+
Enabled: true
|
164
|
+
|
165
|
+
Lint/NoReturnInBeginEndBlocks:
|
166
|
+
Enabled: true
|
167
|
+
|
168
|
+
Lint/NonAtomicFileOperation:
|
169
|
+
Enabled: true
|
170
|
+
|
171
|
+
Lint/NumberedParameterAssignment:
|
172
|
+
Enabled: true
|
173
|
+
|
174
|
+
Lint/OrAssignmentToConstant:
|
175
|
+
Enabled: true
|
176
|
+
|
177
|
+
Lint/PercentStringArray:
|
178
|
+
Enabled: true
|
179
|
+
|
180
|
+
Lint/RedundantCopDisableDirective:
|
181
|
+
Enabled: true
|
182
|
+
|
183
|
+
Lint/RedundantCopEnableDirective:
|
184
|
+
Enabled: true
|
185
|
+
|
186
|
+
Lint/RedundantDirGlobSort:
|
187
|
+
Enabled: true
|
188
|
+
|
189
|
+
Lint/RedundantSafeNavigation:
|
190
|
+
Enabled: true
|
191
|
+
|
192
|
+
Lint/RefinementImportMethods:
|
193
|
+
Enabled: true
|
194
|
+
|
195
|
+
Lint/RequireRangeParentheses:
|
196
|
+
Enabled: true
|
197
|
+
|
198
|
+
Lint/RequireRelativeSelfPath:
|
199
|
+
Enabled: true
|
200
|
+
|
201
|
+
Lint/SafeNavigationChain:
|
202
|
+
AllowedMethods:
|
203
|
+
- present?
|
204
|
+
- blank?
|
205
|
+
- presence
|
206
|
+
- try
|
207
|
+
- try!
|
208
|
+
- in?
|
209
|
+
|
210
|
+
Lint/ScriptPermission:
|
211
|
+
Enabled: true
|
212
|
+
|
213
|
+
Lint/SendWithMixinArgument:
|
214
|
+
Enabled: true
|
215
|
+
|
216
|
+
Lint/ShadowingOuterLocalVariable:
|
217
|
+
Enabled: true
|
218
|
+
|
219
|
+
Lint/StructNewOverride:
|
220
|
+
Enabled: true
|
221
|
+
|
222
|
+
Lint/SuppressedException:
|
223
|
+
Enabled: true
|
224
|
+
|
225
|
+
Lint/SymbolConversion:
|
226
|
+
Enabled: true
|
227
|
+
|
228
|
+
Lint/ToEnumArguments:
|
229
|
+
Enabled: true
|
230
|
+
|
231
|
+
Lint/ToJSON:
|
232
|
+
Enabled: true
|
233
|
+
|
234
|
+
Lint/TripleQuotes:
|
235
|
+
Enabled: true
|
236
|
+
|
237
|
+
Lint/UnexpectedBlockArity:
|
238
|
+
Enabled: true
|
239
|
+
|
240
|
+
Lint/UnmodifiedReduceAccumulator:
|
241
|
+
Enabled: true
|
242
|
+
|
243
|
+
Lint/UnreachableLoop:
|
244
|
+
Enabled: true
|
245
|
+
|
246
|
+
Lint/UnusedBlockArgument:
|
247
|
+
Enabled: true
|
248
|
+
|
249
|
+
Lint/UnusedMethodArgument:
|
250
|
+
Enabled: true
|
251
|
+
|
252
|
+
Lint/UselessAccessModifier:
|
253
|
+
Enabled: true
|
254
|
+
|
255
|
+
Lint/UselessElseWithoutRescue:
|
256
|
+
Enabled: true
|
257
|
+
|
258
|
+
Lint/UselessMethodDefinition:
|
259
|
+
Enabled: true
|
260
|
+
|
261
|
+
Lint/UselessRuby2Keywords:
|
262
|
+
Enabled: true
|
263
|
+
|
264
|
+
Metrics/AbcSize:
|
265
|
+
Enabled: true
|
266
|
+
Exclude:
|
267
|
+
- 'db/migrate/*'
|
268
|
+
|
269
|
+
Metrics/BlockLength:
|
270
|
+
Enabled: true
|
271
|
+
Exclude:
|
272
|
+
- 'spec/**/*.rb'
|
273
|
+
- 'config/environments/**/*.rb'
|
274
|
+
- 'config/routes.rb'
|
275
|
+
- 'db/**/*'
|
276
|
+
|
277
|
+
Metrics/BlockNesting:
|
278
|
+
Enabled: true
|
279
|
+
|
280
|
+
Metrics/ClassLength:
|
281
|
+
Enabled: true
|
282
|
+
CountAsOne:
|
283
|
+
- array
|
284
|
+
- hash
|
285
|
+
- heredoc
|
286
|
+
Exclude:
|
287
|
+
- 'db/**/*'
|
288
|
+
|
289
|
+
Metrics/CyclomaticComplexity:
|
290
|
+
Enabled: true
|
291
|
+
|
292
|
+
Metrics/MethodLength:
|
293
|
+
Enabled: true
|
294
|
+
CountAsOne:
|
295
|
+
- array
|
296
|
+
- hash
|
297
|
+
- heredoc
|
298
|
+
|
299
|
+
Metrics/ModuleLength:
|
300
|
+
Enabled: true
|
301
|
+
|
302
|
+
Metrics/ParameterLists:
|
303
|
+
Enabled: true
|
304
|
+
|
305
|
+
Metrics/PerceivedComplexity:
|
306
|
+
Enabled: true
|
307
|
+
|
308
|
+
Naming/AccessorMethodName:
|
309
|
+
Enabled: true
|
310
|
+
|
311
|
+
Naming/AsciiIdentifiers:
|
312
|
+
Enabled: true
|
313
|
+
|
314
|
+
Naming/BlockForwarding:
|
315
|
+
Enabled: true
|
316
|
+
|
317
|
+
Naming/FileName:
|
318
|
+
Enabled: true
|
319
|
+
|
320
|
+
Naming/HeredocDelimiterNaming:
|
321
|
+
Enabled: true
|
322
|
+
|
323
|
+
Naming/MemoizedInstanceVariableName:
|
324
|
+
Enabled: true
|
325
|
+
|
326
|
+
Naming/MethodName:
|
327
|
+
Enabled: true
|
328
|
+
|
329
|
+
Naming/MethodParameterName:
|
330
|
+
Enabled: true
|
331
|
+
|
332
|
+
Naming/PredicateName:
|
333
|
+
Enabled: true
|
334
|
+
|
335
|
+
Naming/RescuedExceptionsVariableName:
|
336
|
+
Enabled: true
|
337
|
+
|
338
|
+
Naming/VariableNumber:
|
339
|
+
Enabled: true
|
340
|
+
|
341
|
+
Performance/AncestorsInclude:
|
342
|
+
Enabled: true
|
343
|
+
|
344
|
+
Performance/BigDecimalWithNumericArgument:
|
345
|
+
Enabled: true
|
346
|
+
|
347
|
+
Performance/BlockGivenWithExplicitBlock:
|
348
|
+
Enabled: true
|
349
|
+
|
350
|
+
Performance/Casecmp:
|
351
|
+
Enabled: true
|
352
|
+
|
353
|
+
Performance/CollectionLiteralInLoop:
|
354
|
+
Enabled: true
|
355
|
+
|
356
|
+
Performance/ConcurrentMonotonicTime:
|
357
|
+
Enabled: true
|
358
|
+
|
359
|
+
Performance/ConstantRegexp:
|
360
|
+
Enabled: true
|
361
|
+
|
362
|
+
Performance/DeletePrefix:
|
363
|
+
Enabled: true
|
364
|
+
|
365
|
+
Performance/DeleteSuffix:
|
366
|
+
Enabled: true
|
367
|
+
|
368
|
+
Performance/MapCompact:
|
369
|
+
Enabled: true
|
370
|
+
|
371
|
+
Performance/MethodObjectAsBlock:
|
372
|
+
Enabled: true
|
373
|
+
|
374
|
+
Performance/RedundantBlockCall:
|
375
|
+
Enabled: true
|
376
|
+
|
377
|
+
Performance/RedundantEqualityComparisonBlock:
|
378
|
+
Enabled: true
|
379
|
+
|
380
|
+
Performance/RedundantSortBlock:
|
381
|
+
Enabled: true
|
382
|
+
|
383
|
+
Performance/RedundantSplitRegexpArgument:
|
384
|
+
Enabled: true
|
385
|
+
|
386
|
+
Performance/RedundantStringChars:
|
387
|
+
Enabled: true
|
388
|
+
|
389
|
+
Performance/ReverseFirst:
|
390
|
+
Enabled: true
|
391
|
+
|
392
|
+
Performance/SortReverse:
|
393
|
+
Enabled: true
|
394
|
+
|
395
|
+
Performance/Squeeze:
|
396
|
+
Enabled: true
|
397
|
+
|
398
|
+
Performance/StringIdentifierArgument:
|
399
|
+
Enabled: true
|
400
|
+
|
401
|
+
Performance/StringInclude:
|
402
|
+
Enabled: true
|
403
|
+
|
404
|
+
Performance/Sum:
|
405
|
+
Enabled: true
|
406
|
+
|
407
|
+
Performance/TimesMap:
|
408
|
+
Enabled: true
|
409
|
+
|
410
|
+
RSpec/AnyInstance:
|
411
|
+
Enabled: false
|
412
|
+
|
413
|
+
RSpec/DescribeClass:
|
414
|
+
Exclude:
|
415
|
+
- 'spec/system/**/*'
|
416
|
+
- 'spec/views/**/*'
|
417
|
+
|
418
|
+
RSpec/DescribedClass:
|
419
|
+
SkipBlocks: true
|
420
|
+
|
421
|
+
RSpec/ExampleLength:
|
422
|
+
Exclude:
|
423
|
+
- 'spec/system/**/*'
|
424
|
+
- 'spec/requests/**/*'
|
425
|
+
- 'spec/views/**/*'
|
426
|
+
|
427
|
+
RSpec/InstanceVariable:
|
428
|
+
Exclude:
|
429
|
+
- 'spec/views/**/*'
|
430
|
+
|
431
|
+
RSpec/MultipleExpectations:
|
432
|
+
Enabled: false
|
433
|
+
|
434
|
+
RSpec/MultipleMemoizedHelpers:
|
435
|
+
Enabled: false
|
436
|
+
|
437
|
+
RSpec/NestedGroups:
|
438
|
+
Max: 5
|
439
|
+
|
440
|
+
RSpec/NoExpectationExample:
|
441
|
+
Enabled: false
|
442
|
+
|
443
|
+
RSpec/SortMetadata:
|
444
|
+
Enabled: false
|
445
|
+
|
446
|
+
RSpec/VerifiedDoubles:
|
447
|
+
Enabled: false
|
448
|
+
|
449
|
+
Rails/BulkChangeTable:
|
450
|
+
Enabled: false
|
451
|
+
|
452
|
+
Rails/I18nLocaleAssignment:
|
453
|
+
Exclude:
|
454
|
+
- 'spec/**/*'
|
455
|
+
|
456
|
+
Rails/LexicallyScopedActionFilter:
|
457
|
+
Enabled: false
|
458
|
+
|
459
|
+
Rails/NotNullColumn:
|
460
|
+
Exclude:
|
461
|
+
- 'db/migrate/*'
|
462
|
+
|
463
|
+
Rails/WhereExists:
|
464
|
+
Enabled: false
|
465
|
+
|
466
|
+
Rails/SkipsModelValidations:
|
467
|
+
Exclude:
|
468
|
+
- 'spec/**/*.rb'
|
469
|
+
|
470
|
+
Security/CompoundHash:
|
471
|
+
Enabled: true
|
472
|
+
|
473
|
+
Security/IoMethods:
|
474
|
+
Enabled: true
|
475
|
+
|
476
|
+
Security/MarshalLoad:
|
477
|
+
Enabled: true
|
478
|
+
|
479
|
+
Style/AccessModifierDeclarations:
|
480
|
+
Enabled: true
|
481
|
+
|
482
|
+
Style/AccessorGrouping:
|
483
|
+
Enabled: true
|
484
|
+
|
485
|
+
Style/Alias:
|
486
|
+
EnforcedStyle: prefer_alias
|
487
|
+
|
488
|
+
Style/ArgumentsForwarding:
|
489
|
+
Enabled: true
|
490
|
+
|
491
|
+
Style/ArrayIntersect:
|
492
|
+
Enabled: true
|
493
|
+
|
494
|
+
Style/BisectedAttrAccessor:
|
495
|
+
Enabled: true
|
496
|
+
|
497
|
+
Style/BlockDelimiters:
|
498
|
+
Enabled: true
|
499
|
+
|
500
|
+
Style/CaseEquality:
|
501
|
+
Enabled: true
|
502
|
+
|
503
|
+
Style/CaseLikeIf:
|
504
|
+
Enabled: true
|
505
|
+
|
506
|
+
Style/ClassAndModuleChildren:
|
507
|
+
Enabled: true
|
508
|
+
|
509
|
+
Style/ClassVars:
|
510
|
+
Enabled: true
|
511
|
+
|
512
|
+
Style/CollectionCompact:
|
513
|
+
Enabled: true
|
514
|
+
|
515
|
+
Style/CombinableLoops:
|
516
|
+
Enabled: true
|
517
|
+
|
518
|
+
Style/CommandLiteral:
|
519
|
+
EnforcedStyle: backticks
|
520
|
+
|
521
|
+
Style/CommentAnnotation:
|
522
|
+
Enabled: true
|
523
|
+
|
524
|
+
Style/CommentedKeyword:
|
525
|
+
Enabled: true
|
526
|
+
|
527
|
+
Style/ConcatArrayLiterals:
|
528
|
+
Enabled: true
|
529
|
+
|
530
|
+
Style/DocumentDynamicEvalDefinition:
|
531
|
+
Enabled: true
|
532
|
+
|
533
|
+
Style/DoubleCopDisableDirective:
|
534
|
+
Enabled: true
|
535
|
+
|
536
|
+
Style/DoubleNegation:
|
537
|
+
Enabled: true
|
538
|
+
|
539
|
+
Style/EmptyHeredoc:
|
540
|
+
Enabled: true
|
541
|
+
|
542
|
+
Style/EmptyMethod:
|
543
|
+
EnforcedStyle: compact
|
544
|
+
|
545
|
+
Style/EndlessMethod:
|
546
|
+
Enabled: true
|
547
|
+
|
548
|
+
Style/EnvHome:
|
549
|
+
Enabled: true
|
550
|
+
|
551
|
+
Style/EvenOdd:
|
552
|
+
Enabled: true
|
553
|
+
|
554
|
+
Style/ExpandPathArguments:
|
555
|
+
Enabled: true
|
556
|
+
|
557
|
+
Style/ExplicitBlockArgument:
|
558
|
+
Enabled: true
|
559
|
+
|
560
|
+
Style/ExponentialNotation:
|
561
|
+
Enabled: true
|
562
|
+
|
563
|
+
Style/FetchEnvVar:
|
564
|
+
Enabled: true
|
565
|
+
|
566
|
+
Style/FileRead:
|
567
|
+
Enabled: true
|
568
|
+
|
569
|
+
Style/FileWrite:
|
570
|
+
Enabled: true
|
571
|
+
|
572
|
+
Style/FloatDivision:
|
573
|
+
Enabled: true
|
574
|
+
|
575
|
+
Style/FormatString:
|
576
|
+
Enabled: true
|
577
|
+
|
578
|
+
Style/FormatStringToken:
|
579
|
+
Enabled: true
|
580
|
+
|
581
|
+
Style/FrozenStringLiteralComment:
|
582
|
+
Enabled: true
|
583
|
+
|
584
|
+
Style/GuardClause:
|
585
|
+
Enabled: true
|
586
|
+
|
587
|
+
Style/HashConversion:
|
588
|
+
Enabled: true
|
589
|
+
|
590
|
+
Style/HashEachMethods:
|
591
|
+
Enabled: true
|
592
|
+
|
593
|
+
Style/HashExcept:
|
594
|
+
Enabled: true
|
595
|
+
|
596
|
+
Style/HashLikeCase:
|
597
|
+
Enabled: true
|
598
|
+
|
599
|
+
Style/HashSyntax:
|
600
|
+
Enabled: true
|
601
|
+
EnforcedShorthandSyntax: either
|
602
|
+
|
603
|
+
Style/HashTransformKeys:
|
604
|
+
Enabled: true
|
605
|
+
|
606
|
+
Style/HashTransformValues:
|
607
|
+
Enabled: true
|
608
|
+
|
609
|
+
Style/IfWithBooleanLiteralBranches:
|
610
|
+
Enabled: true
|
611
|
+
|
612
|
+
Style/InPatternThen:
|
613
|
+
Enabled: true
|
614
|
+
|
615
|
+
Style/InverseMethods:
|
616
|
+
Enabled: true
|
617
|
+
|
618
|
+
Style/Lambda:
|
619
|
+
Enabled: true
|
620
|
+
|
621
|
+
Style/MagicCommentFormat:
|
622
|
+
Enabled: true
|
623
|
+
|
624
|
+
Style/MapCompactWithConditionalBlock:
|
625
|
+
Enabled: true
|
626
|
+
|
627
|
+
Style/MapToHash:
|
628
|
+
Enabled: true
|
629
|
+
|
630
|
+
Style/MapToSet:
|
631
|
+
Enabled: true
|
632
|
+
|
633
|
+
Style/MethodDefParentheses:
|
634
|
+
Enabled: true
|
635
|
+
|
636
|
+
Style/MinMax:
|
637
|
+
Enabled: true
|
638
|
+
|
639
|
+
Style/MinMaxComparison:
|
640
|
+
Enabled: true
|
641
|
+
|
642
|
+
Style/MixinUsage:
|
643
|
+
Exclude:
|
644
|
+
- 'bin/setup'
|
645
|
+
- 'bin/update'
|
646
|
+
|
647
|
+
Style/ModuleFunction:
|
648
|
+
Enabled: true
|
649
|
+
|
650
|
+
Style/MultilineBlockChain:
|
651
|
+
Enabled: true
|
652
|
+
|
653
|
+
Style/MultilineInPatternThen:
|
654
|
+
Enabled: true
|
655
|
+
|
656
|
+
Style/MultilineTernaryOperator:
|
657
|
+
Enabled: true
|
658
|
+
|
659
|
+
Style/MultipleComparison:
|
660
|
+
Enabled: true
|
661
|
+
|
662
|
+
Style/MutableConstant:
|
663
|
+
Enabled: true
|
664
|
+
|
665
|
+
Style/NegatedIf:
|
666
|
+
Enabled: true
|
667
|
+
|
668
|
+
Style/NegatedIfElseCondition:
|
669
|
+
Enabled: true
|
670
|
+
|
671
|
+
Style/NegatedUnless:
|
672
|
+
Enabled: true
|
673
|
+
|
674
|
+
Style/NestedFileDirname:
|
675
|
+
Enabled: true
|
676
|
+
|
677
|
+
Style/Next:
|
678
|
+
Enabled: true
|
679
|
+
|
680
|
+
Style/NilLambda:
|
681
|
+
Enabled: true
|
682
|
+
|
683
|
+
Style/NonNilCheck:
|
684
|
+
IncludeSemanticChanges: true
|
685
|
+
|
686
|
+
Style/NumberedParameters:
|
687
|
+
Enabled: true
|
688
|
+
|
689
|
+
Style/NumberedParametersLimit:
|
690
|
+
Enabled: true
|
691
|
+
|
692
|
+
Style/NumericLiterals:
|
693
|
+
Enabled: true
|
694
|
+
|
695
|
+
Style/NumericPredicate:
|
696
|
+
Enabled: true
|
697
|
+
|
698
|
+
Style/ObjectThen:
|
699
|
+
Enabled: true
|
700
|
+
|
701
|
+
Style/OpenStructUse:
|
702
|
+
Enabled: true
|
703
|
+
|
704
|
+
Style/OperatorMethodCall:
|
705
|
+
Enabled: true
|
706
|
+
|
707
|
+
Style/OptionalBooleanParameter:
|
708
|
+
Enabled: true
|
709
|
+
|
710
|
+
Style/ParallelAssignment:
|
711
|
+
Enabled: true
|
712
|
+
|
713
|
+
Style/PercentQLiterals:
|
714
|
+
Enabled: true
|
715
|
+
|
716
|
+
Style/PerlBackrefs:
|
717
|
+
Enabled: true
|
718
|
+
|
719
|
+
Style/PreferredHashMethods:
|
720
|
+
Enabled: true
|
721
|
+
|
722
|
+
Style/QuotedSymbols:
|
723
|
+
Enabled: true
|
724
|
+
|
725
|
+
Style/RaiseArgs:
|
726
|
+
Enabled: true
|
727
|
+
|
728
|
+
Style/RedundantArgument:
|
729
|
+
Enabled: true
|
730
|
+
|
731
|
+
Style/RedundantCapitalW:
|
732
|
+
Enabled: true
|
733
|
+
|
734
|
+
Style/RedundantConstantBase:
|
735
|
+
Enabled: true
|
736
|
+
|
737
|
+
Style/RedundantDoubleSplatHashBraces:
|
738
|
+
Enabled: true
|
739
|
+
|
740
|
+
Style/RedundantEach:
|
741
|
+
Enabled: true
|
742
|
+
|
743
|
+
Style/RedundantInitialize:
|
744
|
+
Enabled: true
|
745
|
+
|
746
|
+
Style/RedundantSelfAssignment:
|
747
|
+
Enabled: true
|
748
|
+
|
749
|
+
Style/RedundantSelfAssignmentBranch:
|
750
|
+
Enabled: true
|
751
|
+
|
752
|
+
Style/RedundantStringEscape:
|
753
|
+
Enabled: true
|
754
|
+
|
755
|
+
Style/RegexpLiteral:
|
756
|
+
Enabled: true
|
757
|
+
|
758
|
+
Style/RescueStandardError:
|
759
|
+
EnforcedStyle: explicit
|
760
|
+
|
761
|
+
Style/SelectByRegexp:
|
762
|
+
Enabled: true
|
763
|
+
|
764
|
+
Style/SignalException:
|
765
|
+
Enabled: true
|
766
|
+
|
767
|
+
Style/SingleArgumentDig:
|
768
|
+
Enabled: true
|
769
|
+
|
770
|
+
Style/SingleLineMethods:
|
771
|
+
AllowIfMethodIsEmpty: true
|
772
|
+
|
773
|
+
Style/SoleNestedConditional:
|
774
|
+
Enabled: true
|
775
|
+
|
776
|
+
Style/SpecialGlobalVars:
|
777
|
+
Enabled: true
|
778
|
+
|
779
|
+
Style/StringChars:
|
780
|
+
Enabled: true
|
781
|
+
|
782
|
+
Style/StringConcatenation:
|
783
|
+
Enabled: true
|
784
|
+
|
785
|
+
Style/StringLiterals:
|
786
|
+
EnforcedStyle: single_quotes
|
787
|
+
|
788
|
+
Style/StringLiteralsInInterpolation:
|
789
|
+
EnforcedStyle: single_quotes
|
790
|
+
|
791
|
+
Style/StructInheritance:
|
792
|
+
Enabled: true
|
793
|
+
|
794
|
+
Style/SwapValues:
|
795
|
+
Enabled: true
|
796
|
+
|
797
|
+
Style/SymbolArray:
|
798
|
+
Enabled: true
|
799
|
+
|
800
|
+
Style/SymbolProc:
|
801
|
+
Enabled: true
|
802
|
+
|
803
|
+
Style/TernaryParentheses:
|
804
|
+
EnforcedStyle: require_no_parentheses
|
805
|
+
|
806
|
+
Style/TrailingUnderscoreVariable:
|
807
|
+
Enabled: true
|
808
|
+
|
809
|
+
Style/TrivialAccessors:
|
810
|
+
AllowDSLWriters: true
|
811
|
+
IgnoreClassMethods: false
|
812
|
+
|
813
|
+
Style/WhileUntilModifier:
|
814
|
+
Enabled: true
|
815
|
+
|
816
|
+
Style/WordArray:
|
817
|
+
Enabled: true
|
818
|
+
|
819
|
+
Style/YodaExpression:
|
820
|
+
Enabled: true
|
821
|
+
|
822
|
+
Style/ZeroLengthPredicate:
|
823
|
+
Enabled: true
|
824
|
+
|
825
|
+
AllCops:
|
826
|
+
NewCops: enable
|
827
|
+
Exclude:
|
828
|
+
- 'bin/**/*'
|
829
|
+
- 'script/**/*'
|
830
|
+
- 'log/**/*'
|
831
|
+
- 'public/**/*'
|
832
|
+
- 'tmp/**/*'
|
833
|
+
- 'db/schema.rb'
|
834
|
+
- 'vendor/**/*'
|
835
|
+
- 'node_modules/**/*'
|
data/lib/renuocop/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: renuocop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alessandro Rodi
|
@@ -80,6 +80,7 @@ files:
|
|
80
80
|
- LICENSE.txt
|
81
81
|
- README.md
|
82
82
|
- Rakefile
|
83
|
+
- config/base.yml
|
83
84
|
- lib/renuocop.rb
|
84
85
|
- lib/renuocop/version.rb
|
85
86
|
- sig/renuocop.rbs
|