rubocop-inhouse 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/capybara.yml +1 -0
- data/config/default.yml +14 -522
- data/config/layout.yml +130 -0
- data/config/lint.yml +115 -0
- data/config/metrics.yml +46 -0
- data/config/rails.yml +0 -26
- data/config/style.yml +243 -0
- data/lib/rubocop/inhouse/version.rb +1 -1
- metadata +19 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 645fd4c7cf0e24a70bf978cd60e845c34935d7f3d2db4e34114c61c62a6b5309
|
4
|
+
data.tar.gz: 85a80197ea84144cc403567f617af97a5631f7c14891da8fe3c57604706dfec0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38366c7877dcbb7577c31cf97e069430419b30769545cac453849022fee1cf68743569a94ee78a00be3595d856c54a8a12bab4352a73be02be742672f9c2163a
|
7
|
+
data.tar.gz: d9b87bf3182f6c3fa3fac67def2a4dee1f49d4f7dce739b82cd1cfdda6a09b22ddd6fcf0e375abc10a8895cb23a6cf2bf7c4ad16adf2ccc804b8818299f432e7
|
data/config/capybara.yml
CHANGED
data/config/default.yml
CHANGED
@@ -5,9 +5,21 @@ require:
|
|
5
5
|
- rubocop-rake
|
6
6
|
|
7
7
|
inherit_from:
|
8
|
+
- ./layout.yml
|
9
|
+
- ./lint.yml
|
10
|
+
- ./style.yml
|
11
|
+
- ./metrics.yml
|
8
12
|
- ./rspec.yml
|
9
13
|
- ./performance.yml
|
10
14
|
|
15
|
+
AllCops:
|
16
|
+
NewCops: enable
|
17
|
+
Exclude:
|
18
|
+
- "**/bin/*"
|
19
|
+
- "**/db/migrate/*"
|
20
|
+
- "**/db/schema.rb"
|
21
|
+
|
22
|
+
# ==== GEMSPEC ====
|
11
23
|
Gemspec/DeprecatedAttributeAssignment:
|
12
24
|
Enabled: true
|
13
25
|
|
@@ -17,535 +29,15 @@ Gemspec/DevelopmentDependencies:
|
|
17
29
|
Gemspec/RequireMFA:
|
18
30
|
Enabled: true
|
19
31
|
|
20
|
-
# ====
|
21
|
-
Layout/BlockAlignment:
|
22
|
-
EnforcedStyleAlignWith: start_of_block
|
23
|
-
|
24
|
-
Layout/ClassStructure:
|
25
|
-
ExpectedOrder:
|
26
|
-
- module_inclusion
|
27
|
-
- constants
|
28
|
-
- association
|
29
|
-
- public_attribute_macros
|
30
|
-
- public_delegate
|
31
|
-
- macros
|
32
|
-
- initializer
|
33
|
-
- public_class_methods
|
34
|
-
- public_methods
|
35
|
-
- protected_attribute_macros
|
36
|
-
- protected_methods
|
37
|
-
- private_attribute_macros
|
38
|
-
- private_delegate
|
39
|
-
- private_methods
|
40
|
-
|
41
|
-
Layout/EndAlignment:
|
42
|
-
EnforcedStyleAlignWith: variable
|
43
|
-
|
44
|
-
Layout/FirstArgumentIndentation:
|
45
|
-
EnforcedStyle: consistent
|
46
|
-
|
47
|
-
Layout/FirstArrayElementIndentation:
|
48
|
-
EnforcedStyle: consistent
|
49
|
-
|
50
|
-
Layout/FirstArrayElementLineBreak:
|
51
|
-
Enabled: true
|
52
|
-
|
53
|
-
Layout/FirstHashElementIndentation:
|
54
|
-
EnforcedStyle: consistent
|
55
|
-
|
56
|
-
Layout/FirstHashElementLineBreak:
|
57
|
-
Enabled: true
|
58
|
-
|
59
|
-
Layout/FirstMethodArgumentLineBreak:
|
60
|
-
Enabled: true
|
61
|
-
|
62
|
-
Layout/FirstMethodParameterLineBreak:
|
63
|
-
Enabled: true
|
64
|
-
|
65
|
-
Layout/LineContinuationSpacing:
|
66
|
-
Enabled: true
|
67
|
-
|
68
|
-
Layout/LineContinuationLeadingSpace:
|
69
|
-
Enabled: true
|
70
|
-
EnforcedStyle: trailing
|
71
|
-
|
72
|
-
Layout/LineEndStringConcatenationIndentation:
|
73
|
-
Enabled: true
|
74
|
-
|
75
|
-
Layout/LineLength:
|
76
|
-
Max: 80
|
77
|
-
Exclude:
|
78
|
-
- '**/spec/**/*'
|
79
|
-
- '**/db/schema.rb'
|
80
|
-
|
81
|
-
Layout/MultilineArrayBraceLayout:
|
82
|
-
EnforcedStyle: new_line
|
83
|
-
|
84
|
-
Layout/MultilineArrayLineBreaks:
|
85
|
-
Enabled: true
|
86
|
-
|
87
|
-
Layout/MultilineOperationIndentation:
|
88
|
-
EnforcedStyle: indented
|
89
|
-
|
90
|
-
Layout/MultilineAssignmentLayout:
|
91
|
-
Enabled: true
|
92
|
-
EnforcedStyle: same_line
|
93
|
-
|
94
|
-
Layout/MultilineHashBraceLayout:
|
95
|
-
EnforcedStyle: new_line
|
96
|
-
|
97
|
-
Layout/MultilineHashKeyLineBreaks:
|
98
|
-
Enabled: true
|
99
|
-
|
100
|
-
Layout/MultilineMethodArgumentLineBreaks:
|
101
|
-
Enabled: true
|
102
|
-
AllowMultilineFinalElement: true
|
103
|
-
|
104
|
-
Layout/MultilineMethodCallBraceLayout:
|
105
|
-
EnforcedStyle: new_line
|
106
|
-
|
107
|
-
Layout/MultilineMethodCallIndentation:
|
108
|
-
EnforcedStyle: indented
|
109
|
-
|
110
|
-
Layout/SpaceAroundMethodCallOperator:
|
111
|
-
Enabled: true
|
112
|
-
|
113
|
-
Layout/MultilineMethodDefinitionBraceLayout:
|
114
|
-
EnforcedStyle: new_line
|
115
|
-
|
116
|
-
Layout/MultilineMethodParameterLineBreaks:
|
117
|
-
Enabled: true
|
118
|
-
|
119
|
-
Layout/ParameterAlignment:
|
120
|
-
EnforcedStyle: with_fixed_indentation
|
121
|
-
|
122
|
-
Layout/SingleLineBlockChain:
|
123
|
-
Enabled: true
|
124
|
-
|
125
|
-
Layout/SpaceBeforeBrackets:
|
126
|
-
Enabled: true
|
127
|
-
|
128
|
-
Layout/SpaceInLambdaLiteral:
|
129
|
-
EnforcedStyle: require_no_space
|
130
|
-
|
131
|
-
# ==== LINTING ====
|
132
|
-
Lint/AmbiguousAssignment:
|
133
|
-
Enabled: true
|
134
|
-
|
135
|
-
Lint/AmbiguousBlockAssociation:
|
136
|
-
Exclude:
|
137
|
-
- '**/spec/**/*'
|
138
|
-
|
139
|
-
Lint/AmbiguousOperatorPrecedence:
|
140
|
-
Enabled: true
|
141
|
-
|
142
|
-
Lint/AmbiguousRange:
|
143
|
-
Enabled: true
|
144
|
-
|
145
|
-
Lint/AssignmentInCondition:
|
146
|
-
Enabled: false
|
147
|
-
|
148
|
-
Lint/BinaryOperatorWithIdenticalOperands:
|
149
|
-
Enabled: true
|
150
|
-
|
151
|
-
Lint/ConstantOverwrittenInRescue:
|
152
|
-
Enabled: true
|
153
|
-
|
154
|
-
Lint/DeprecatedConstants:
|
155
|
-
Enabled: true
|
156
|
-
|
157
|
-
Lint/DuplicateBranch:
|
158
|
-
Enabled: true
|
159
|
-
|
160
|
-
Lint/DuplicateMagicComment:
|
161
|
-
Enabled: true
|
162
|
-
|
163
|
-
Lint/DuplicateMatchPattern:
|
164
|
-
Enabled: true
|
165
|
-
|
166
|
-
Lint/DuplicateRegexpCharacterClassElement:
|
167
|
-
Enabled: true
|
168
|
-
|
169
|
-
Lint/EmptyBlock:
|
170
|
-
Enabled: true
|
171
|
-
|
172
|
-
Lint/EmptyClass:
|
173
|
-
Enabled: true
|
174
|
-
|
175
|
-
Lint/EmptyInPattern:
|
176
|
-
Enabled: true
|
177
|
-
|
178
|
-
Lint/IncompatibleIoSelectWithFiberScheduler:
|
179
|
-
Enabled: true
|
180
|
-
|
181
|
-
Lint/LambdaWithoutLiteralBlock:
|
182
|
-
Enabled: true
|
183
|
-
|
184
|
-
Lint/MixedCaseRange:
|
185
|
-
Enabled: true
|
186
|
-
|
187
|
-
Lint/NoReturnInBeginEndBlocks:
|
188
|
-
Enabled: true
|
189
|
-
|
190
|
-
Lint/NonAtomicFileOperation:
|
191
|
-
Enabled: true
|
192
|
-
|
193
|
-
Lint/NumberConversion:
|
194
|
-
Enabled: true
|
195
|
-
|
196
|
-
Lint/NumberedParameterAssignment:
|
197
|
-
Enabled: true
|
198
|
-
|
199
|
-
Lint/OrAssignmentToConstant:
|
200
|
-
Enabled: true
|
201
|
-
|
202
|
-
Lint/RedundantDirGlobSort:
|
203
|
-
Enabled: true
|
204
|
-
|
205
|
-
Lint/RedundantRegexpQuantifiers:
|
206
|
-
Enabled: true
|
207
|
-
|
208
|
-
Lint/RefinementImportMethods:
|
209
|
-
Enabled: true
|
210
|
-
|
211
|
-
Lint/RequireRangeParentheses:
|
212
|
-
Enabled: true
|
213
|
-
|
214
|
-
Lint/RequireRelativeSelfPath:
|
215
|
-
Enabled: true
|
216
|
-
|
217
|
-
Lint/ShadowingOuterLocalVariable:
|
218
|
-
Enabled: false
|
219
|
-
|
220
|
-
Lint/SymbolConversion:
|
221
|
-
Enabled: true
|
222
|
-
|
223
|
-
Lint/ToEnumArguments:
|
224
|
-
Enabled: true
|
225
|
-
|
226
|
-
Lint/TripleQuotes:
|
227
|
-
Enabled: true
|
228
|
-
|
229
|
-
Lint/UnexpectedBlockArity:
|
230
|
-
Enabled: true
|
231
|
-
|
232
|
-
Lint/UnmodifiedReduceAccumulator:
|
233
|
-
Enabled: true
|
234
|
-
|
235
|
-
Lint/UnusedBlockArgument:
|
236
|
-
IgnoreEmptyBlocks: false
|
237
|
-
|
238
|
-
Lint/UnusedMethodArgument:
|
239
|
-
IgnoreEmptyMethods: false
|
240
|
-
|
241
|
-
Lint/UselessRescue:
|
242
|
-
Enabled: true
|
243
|
-
|
244
|
-
Lint/UselessRuby2Keywords:
|
245
|
-
Enabled: true
|
246
|
-
|
247
|
-
# ==== METRICS ====
|
248
|
-
Metrics/AbcSize:
|
249
|
-
Max: 20
|
250
|
-
|
251
|
-
Metrics/BlockLength:
|
252
|
-
CountComments: false
|
253
|
-
Max: 25
|
254
|
-
Exclude:
|
255
|
-
- '**/db/schema.rb'
|
256
|
-
- '**/spec/**/*'
|
257
|
-
- '**/*.rake'
|
258
|
-
- '**/factories/**/*'
|
259
|
-
- '**/config/routes.rb'
|
260
|
-
|
261
|
-
Metrics/CollectionLiteralLength:
|
262
|
-
Enabled: true
|
263
|
-
|
264
|
-
Metrics/ClassLength:
|
265
|
-
CountAsOne: ['array', 'hash']
|
266
|
-
Max: 100
|
267
|
-
Exclude:
|
268
|
-
- '**/app/controllers/**/*'
|
269
|
-
|
270
|
-
Metrics/CyclomaticComplexity:
|
271
|
-
Max: 10
|
272
|
-
|
273
|
-
Metrics/MethodLength:
|
274
|
-
CountAsOne: ['array', 'hash']
|
275
|
-
Max: 20
|
276
|
-
|
277
|
-
Metrics/ModuleLength:
|
278
|
-
CountAsOne: ['array', 'hash']
|
279
|
-
Max: 100
|
280
|
-
Exclude:
|
281
|
-
- '**/spec/**/*'
|
282
|
-
|
283
|
-
Metrics/ParameterLists:
|
284
|
-
Max: 2
|
285
|
-
CountKeywordArgs: false
|
286
|
-
|
287
|
-
Metrics/PerceivedComplexity:
|
288
|
-
Max: 8
|
289
|
-
|
290
|
-
# ==== NAMING ====
|
32
|
+
# ==== NAMING ====
|
291
33
|
Naming/BlockForwarding:
|
292
34
|
Enabled: true
|
293
35
|
EnforcedStyle: explicit
|
294
36
|
|
295
|
-
# ====
|
37
|
+
# ==== SECURITY ====
|
296
38
|
Security/CompoundHash:
|
297
39
|
Enabled: true
|
298
40
|
|
299
41
|
Security/IoMethods:
|
300
42
|
Enabled: true
|
301
43
|
|
302
|
-
# ==== STYE ====
|
303
|
-
Style/ArgumentsForwarding:
|
304
|
-
Enabled: true
|
305
|
-
|
306
|
-
Style/ArrayCoercion:
|
307
|
-
Enabled: true
|
308
|
-
|
309
|
-
Style/ArrayIntersect:
|
310
|
-
Enabled: true
|
311
|
-
|
312
|
-
Style/AutoResourceCleanup:
|
313
|
-
Enabled: true
|
314
|
-
|
315
|
-
Style/CollectionCompact:
|
316
|
-
Enabled: true
|
317
|
-
|
318
|
-
Style/CollectionMethods:
|
319
|
-
Enabled: true
|
320
|
-
|
321
|
-
Style/ComparableClamp:
|
322
|
-
Enabled: true
|
323
|
-
|
324
|
-
Style/ConstantVisibility:
|
325
|
-
Enabled: true
|
326
|
-
|
327
|
-
Style/ConcatArrayLiterals:
|
328
|
-
Enabled: true
|
329
|
-
|
330
|
-
Style/DataInheritance:
|
331
|
-
Enabled: true
|
332
|
-
|
333
|
-
Style/DirEmpty:
|
334
|
-
Enabled: true
|
335
|
-
|
336
|
-
Style/Documentation:
|
337
|
-
Enabled: false
|
338
|
-
|
339
|
-
Style/DocumentDynamicEvalDefinition:
|
340
|
-
Enabled: true
|
341
|
-
|
342
|
-
Style/EmptyHeredoc:
|
343
|
-
Enabled: true
|
344
|
-
|
345
|
-
Style/EnvHome:
|
346
|
-
Enabled: true
|
347
|
-
|
348
|
-
Style/ExactRegexpMatch:
|
349
|
-
Enabled: true
|
350
|
-
|
351
|
-
Style/EndlessMethod:
|
352
|
-
Enabled: true
|
353
|
-
EnforcedStyle: disallow
|
354
|
-
|
355
|
-
Style/FileEmpty:
|
356
|
-
Enabled: true
|
357
|
-
|
358
|
-
Style/FileWrite:
|
359
|
-
Enabled: true
|
360
|
-
|
361
|
-
Style/FrozenStringLiteralComment:
|
362
|
-
Enabled: true
|
363
|
-
Exclude:
|
364
|
-
- "**/db/schema.rb"
|
365
|
-
|
366
|
-
Style/FetchEnvVar:
|
367
|
-
Enabled: true
|
368
|
-
|
369
|
-
Style/FileRead:
|
370
|
-
Enabled: true
|
371
|
-
|
372
|
-
Style/HashConversion:
|
373
|
-
Enabled: true
|
374
|
-
|
375
|
-
Style/HashExcept:
|
376
|
-
Enabled: true
|
377
|
-
|
378
|
-
Style/IfWithBooleanLiteralBranches:
|
379
|
-
Enabled: true
|
380
|
-
|
381
|
-
Style/ImplicitRuntimeError:
|
382
|
-
Enabled: true
|
383
|
-
|
384
|
-
Style/InPatternThen:
|
385
|
-
Enabled: true
|
386
|
-
|
387
|
-
Style/InvertibleUnlessCondition:
|
388
|
-
Enabled: true
|
389
|
-
|
390
|
-
Style/InlineComment:
|
391
|
-
Enabled: true
|
392
|
-
|
393
|
-
Style/IpAddresses:
|
394
|
-
Enabled: true
|
395
|
-
|
396
|
-
Style/Lambda:
|
397
|
-
EnforcedStyle: literal
|
398
|
-
|
399
|
-
Style/MagicCommentFormat:
|
400
|
-
Enabled: true
|
401
|
-
|
402
|
-
Style/MultilineInPatternThen:
|
403
|
-
Enabled: true
|
404
|
-
|
405
|
-
Style/MapCompactWithConditionalBlock:
|
406
|
-
Enabled: true
|
407
|
-
|
408
|
-
Style/MapToHash:
|
409
|
-
Enabled: true
|
410
|
-
|
411
|
-
Style/MapToSet:
|
412
|
-
Enabled: true
|
413
|
-
|
414
|
-
Style/MethodCallWithArgsParentheses:
|
415
|
-
Enabled: false
|
416
|
-
|
417
|
-
Style/MethodCalledOnDoEndBlock:
|
418
|
-
Enabled: true
|
419
|
-
|
420
|
-
Style/MinMaxComparison:
|
421
|
-
Enabled: true
|
422
|
-
|
423
|
-
Style/MultilineMethodSignature:
|
424
|
-
Enabled: true
|
425
|
-
|
426
|
-
Style/NegatedIfElseCondition:
|
427
|
-
Enabled: true
|
428
|
-
|
429
|
-
Style/NestedFileDirname:
|
430
|
-
Enabled: true
|
431
|
-
|
432
|
-
Style/NilLambda:
|
433
|
-
Enabled: true
|
434
|
-
|
435
|
-
Style/NumberedParameters:
|
436
|
-
Enabled: true
|
437
|
-
EnforcedStyle: disallow
|
438
|
-
|
439
|
-
Style/NumberedParametersLimit:
|
440
|
-
Enabled: true
|
441
|
-
|
442
|
-
Style/NumericLiterals:
|
443
|
-
Enabled: true
|
444
|
-
Exclude:
|
445
|
-
- '**/db/migrate/*'
|
446
|
-
- '**/db/schema.rb'
|
447
|
-
|
448
|
-
Style/ObjectThen:
|
449
|
-
Enabled: true
|
450
|
-
EnforcedStyle: then
|
451
|
-
|
452
|
-
Style/OpenStructUse:
|
453
|
-
Enabled: true
|
454
|
-
|
455
|
-
Style/OperatorMethodCall:
|
456
|
-
Enabled: true
|
457
|
-
|
458
|
-
Style/OptionHash:
|
459
|
-
Enabled: true
|
460
|
-
|
461
|
-
Style/QuotedSymbols:
|
462
|
-
Enabled: true
|
463
|
-
|
464
|
-
Style/RedundantArrayConstructor:
|
465
|
-
Enabled: true
|
466
|
-
|
467
|
-
Style/RedundantCurrentDirectoryInPath:
|
468
|
-
Enabled: true
|
469
|
-
|
470
|
-
Style/RedundantFilterChain:
|
471
|
-
Enabled: true
|
472
|
-
|
473
|
-
Style/RedundantHeredocDelimiterQuotes:
|
474
|
-
Enabled: true
|
475
|
-
|
476
|
-
Style/RedundantLineContinuation:
|
477
|
-
Enabled: true
|
478
|
-
|
479
|
-
Style/RedundantRegexpArgument:
|
480
|
-
Enabled: true
|
481
|
-
|
482
|
-
Style/RedundantRegexpConstructor:
|
483
|
-
Enabled: true
|
484
|
-
|
485
|
-
Style/RedundantSelfAssignmentBranch:
|
486
|
-
Enabled: true
|
487
|
-
|
488
|
-
Style/RedundantArgument:
|
489
|
-
Enabled: true
|
490
|
-
|
491
|
-
Style/RedundantConstantBase:
|
492
|
-
Enabled: true
|
493
|
-
|
494
|
-
Style/RedundantDoubleSplatHashBraces:
|
495
|
-
Enabled: true
|
496
|
-
|
497
|
-
Style/RedundantEach:
|
498
|
-
Enabled: true
|
499
|
-
|
500
|
-
Style/RedundantInitialize:
|
501
|
-
Enabled: true
|
502
|
-
|
503
|
-
Style/RedundantStringEscape:
|
504
|
-
Enabled: true
|
505
|
-
|
506
|
-
Style/ReturnNilInPredicateMethodDefinition:
|
507
|
-
Enabled: true
|
508
|
-
|
509
|
-
Style/SelectByRegexp:
|
510
|
-
Enabled: true
|
511
|
-
|
512
|
-
Style/SingleLineDoEndBlock:
|
513
|
-
Enabled: true
|
514
|
-
|
515
|
-
Style/StaticClass:
|
516
|
-
Enabled: true
|
517
|
-
|
518
|
-
Style/StringChars:
|
519
|
-
Enabled: true
|
520
|
-
|
521
|
-
Style/StringHashKeys:
|
522
|
-
Enabled: true
|
523
|
-
Exclude:
|
524
|
-
- "config/routes.rb"
|
525
|
-
|
526
|
-
Style/SwapValues:
|
527
|
-
Enabled: true
|
528
|
-
|
529
|
-
Style/StringLiterals:
|
530
|
-
EnforcedStyle: double_quotes
|
531
|
-
|
532
|
-
Style/StringLiteralsInInterpolation:
|
533
|
-
EnforcedStyle: double_quotes
|
534
|
-
|
535
|
-
Style/TopLevelMethodDefinition:
|
536
|
-
Enabled: true
|
537
|
-
|
538
|
-
Style/TrailingCommaInBlockArgs:
|
539
|
-
Enabled: true
|
540
|
-
|
541
|
-
Style/YAMLFileRead:
|
542
|
-
Enabled: true
|
543
|
-
|
544
|
-
Style/UnlessLogicalOperators:
|
545
|
-
Enabled: true
|
546
|
-
|
547
|
-
Style/WordArray:
|
548
|
-
Enabled: true
|
549
|
-
Exclude:
|
550
|
-
- '**/db/migrate/*'
|
551
|
-
- '**/db/schema.rb'
|
data/config/layout.yml
ADDED
@@ -0,0 +1,130 @@
|
|
1
|
+
Layout/BlockAlignment:
|
2
|
+
EnforcedStyleAlignWith: start_of_block
|
3
|
+
Exclude:
|
4
|
+
- "**/*.erb"
|
5
|
+
|
6
|
+
Layout/ClassStructure:
|
7
|
+
ExpectedOrder:
|
8
|
+
- module_inclusion
|
9
|
+
- constants
|
10
|
+
- association
|
11
|
+
- public_attribute_macros
|
12
|
+
- public_delegate
|
13
|
+
- macros
|
14
|
+
- initializer
|
15
|
+
- public_class_methods
|
16
|
+
- public_methods
|
17
|
+
- protected_attribute_macros
|
18
|
+
- protected_methods
|
19
|
+
- private_attribute_macros
|
20
|
+
- private_delegate
|
21
|
+
- private_methods
|
22
|
+
|
23
|
+
Layout/EndAlignment:
|
24
|
+
EnforcedStyleAlignWith: variable
|
25
|
+
|
26
|
+
Layout/FirstArgumentIndentation:
|
27
|
+
EnforcedStyle: consistent
|
28
|
+
|
29
|
+
Layout/FirstArrayElementIndentation:
|
30
|
+
EnforcedStyle: consistent
|
31
|
+
|
32
|
+
Layout/FirstArrayElementLineBreak:
|
33
|
+
Enabled: true
|
34
|
+
|
35
|
+
Layout/FirstHashElementIndentation:
|
36
|
+
EnforcedStyle: consistent
|
37
|
+
|
38
|
+
Layout/FirstHashElementLineBreak:
|
39
|
+
Enabled: true
|
40
|
+
|
41
|
+
Layout/FirstMethodArgumentLineBreak:
|
42
|
+
Enabled: true
|
43
|
+
|
44
|
+
Layout/FirstMethodParameterLineBreak:
|
45
|
+
Enabled: true
|
46
|
+
|
47
|
+
Layout/IndentationWidth:
|
48
|
+
Exclude:
|
49
|
+
- "**/*.erb"
|
50
|
+
|
51
|
+
Layout/InitialIndentation:
|
52
|
+
Exclude:
|
53
|
+
- "**/*.erb"
|
54
|
+
|
55
|
+
Layout/LineContinuationSpacing:
|
56
|
+
Enabled: true
|
57
|
+
|
58
|
+
Layout/LineContinuationLeadingSpace:
|
59
|
+
Enabled: true
|
60
|
+
EnforcedStyle: trailing
|
61
|
+
|
62
|
+
Layout/LineEndStringConcatenationIndentation:
|
63
|
+
Enabled: true
|
64
|
+
|
65
|
+
Layout/LineLength:
|
66
|
+
Max: 80
|
67
|
+
Exclude:
|
68
|
+
- '**/spec/**/*'
|
69
|
+
|
70
|
+
Layout/MultilineArrayBraceLayout:
|
71
|
+
EnforcedStyle: new_line
|
72
|
+
|
73
|
+
Layout/MultilineArrayLineBreaks:
|
74
|
+
Enabled: true
|
75
|
+
|
76
|
+
Layout/MultilineOperationIndentation:
|
77
|
+
EnforcedStyle: indented
|
78
|
+
|
79
|
+
Layout/MultilineAssignmentLayout:
|
80
|
+
Enabled: true
|
81
|
+
EnforcedStyle: same_line
|
82
|
+
|
83
|
+
Layout/MultilineHashBraceLayout:
|
84
|
+
EnforcedStyle: new_line
|
85
|
+
|
86
|
+
Layout/MultilineHashKeyLineBreaks:
|
87
|
+
Enabled: true
|
88
|
+
|
89
|
+
Layout/MultilineMethodArgumentLineBreaks:
|
90
|
+
Enabled: true
|
91
|
+
AllowMultilineFinalElement: true
|
92
|
+
|
93
|
+
Layout/MultilineMethodCallBraceLayout:
|
94
|
+
Enabled: true
|
95
|
+
|
96
|
+
Layout/MultilineMethodCallIndentation:
|
97
|
+
EnforcedStyle: indented
|
98
|
+
|
99
|
+
Layout/SpaceAroundMethodCallOperator:
|
100
|
+
Enabled: true
|
101
|
+
|
102
|
+
Layout/SpaceInsideParens:
|
103
|
+
Exclude:
|
104
|
+
- "**/*.erb"
|
105
|
+
|
106
|
+
Layout/MultilineMethodDefinitionBraceLayout:
|
107
|
+
EnforcedStyle: new_line
|
108
|
+
|
109
|
+
Layout/MultilineMethodParameterLineBreaks:
|
110
|
+
Enabled: true
|
111
|
+
|
112
|
+
Layout/ParameterAlignment:
|
113
|
+
EnforcedStyle: with_fixed_indentation
|
114
|
+
|
115
|
+
Layout/SingleLineBlockChain:
|
116
|
+
Enabled: true
|
117
|
+
|
118
|
+
Layout/SpaceBeforeBrackets:
|
119
|
+
Enabled: true
|
120
|
+
|
121
|
+
Layout/SpaceInLambdaLiteral:
|
122
|
+
EnforcedStyle: require_no_space
|
123
|
+
|
124
|
+
Layout/TrailingEmptyLines:
|
125
|
+
Exclude:
|
126
|
+
- "**/*.erb"
|
127
|
+
|
128
|
+
Layout/TrailingWhitespace:
|
129
|
+
Exclude:
|
130
|
+
- "**/*.erb"
|
data/config/lint.yml
ADDED
@@ -0,0 +1,115 @@
|
|
1
|
+
Lint/AmbiguousAssignment:
|
2
|
+
Enabled: true
|
3
|
+
|
4
|
+
Lint/AmbiguousBlockAssociation:
|
5
|
+
Exclude:
|
6
|
+
- "**/spec/**/*"
|
7
|
+
|
8
|
+
Lint/AmbiguousOperatorPrecedence:
|
9
|
+
Enabled: true
|
10
|
+
|
11
|
+
Lint/AmbiguousRange:
|
12
|
+
Enabled: true
|
13
|
+
|
14
|
+
Lint/AssignmentInCondition:
|
15
|
+
Enabled: false
|
16
|
+
|
17
|
+
Lint/BinaryOperatorWithIdenticalOperands:
|
18
|
+
Enabled: true
|
19
|
+
|
20
|
+
Lint/ConstantOverwrittenInRescue:
|
21
|
+
Enabled: true
|
22
|
+
|
23
|
+
Lint/DeprecatedConstants:
|
24
|
+
Enabled: true
|
25
|
+
|
26
|
+
Lint/DuplicateBranch:
|
27
|
+
Enabled: true
|
28
|
+
|
29
|
+
Lint/DuplicateMagicComment:
|
30
|
+
Enabled: true
|
31
|
+
|
32
|
+
Lint/DuplicateMatchPattern:
|
33
|
+
Enabled: true
|
34
|
+
|
35
|
+
Lint/DuplicateRegexpCharacterClassElement:
|
36
|
+
Enabled: true
|
37
|
+
|
38
|
+
Lint/EmptyBlock:
|
39
|
+
Enabled: true
|
40
|
+
|
41
|
+
Lint/EmptyClass:
|
42
|
+
Enabled: true
|
43
|
+
|
44
|
+
Lint/EmptyInPattern:
|
45
|
+
Enabled: true
|
46
|
+
|
47
|
+
Lint/IncompatibleIoSelectWithFiberScheduler:
|
48
|
+
Enabled: true
|
49
|
+
|
50
|
+
Lint/LambdaWithoutLiteralBlock:
|
51
|
+
Enabled: true
|
52
|
+
|
53
|
+
Lint/MixedCaseRange:
|
54
|
+
Enabled: true
|
55
|
+
|
56
|
+
Lint/NoReturnInBeginEndBlocks:
|
57
|
+
Enabled: true
|
58
|
+
|
59
|
+
Lint/NonAtomicFileOperation:
|
60
|
+
Enabled: true
|
61
|
+
|
62
|
+
Lint/NumberConversion:
|
63
|
+
Enabled: true
|
64
|
+
|
65
|
+
Lint/NumberedParameterAssignment:
|
66
|
+
Enabled: true
|
67
|
+
|
68
|
+
Lint/OrAssignmentToConstant:
|
69
|
+
Enabled: true
|
70
|
+
|
71
|
+
Lint/RedundantDirGlobSort:
|
72
|
+
Enabled: true
|
73
|
+
|
74
|
+
Lint/RedundantRegexpQuantifiers:
|
75
|
+
Enabled: true
|
76
|
+
|
77
|
+
Lint/RefinementImportMethods:
|
78
|
+
Enabled: true
|
79
|
+
|
80
|
+
Lint/RequireRangeParentheses:
|
81
|
+
Enabled: true
|
82
|
+
|
83
|
+
Lint/RequireRelativeSelfPath:
|
84
|
+
Enabled: true
|
85
|
+
|
86
|
+
Lint/ShadowingOuterLocalVariable:
|
87
|
+
Enabled: false
|
88
|
+
|
89
|
+
Lint/SymbolConversion:
|
90
|
+
Enabled: true
|
91
|
+
|
92
|
+
Lint/ToEnumArguments:
|
93
|
+
Enabled: true
|
94
|
+
|
95
|
+
Lint/TripleQuotes:
|
96
|
+
Enabled: true
|
97
|
+
|
98
|
+
Lint/UnexpectedBlockArity:
|
99
|
+
Enabled: true
|
100
|
+
|
101
|
+
Lint/UnmodifiedReduceAccumulator:
|
102
|
+
Enabled: true
|
103
|
+
|
104
|
+
Lint/UnusedBlockArgument:
|
105
|
+
IgnoreEmptyBlocks: false
|
106
|
+
|
107
|
+
Lint/UnusedMethodArgument:
|
108
|
+
IgnoreEmptyMethods: false
|
109
|
+
|
110
|
+
Lint/UselessRescue:
|
111
|
+
Enabled: true
|
112
|
+
|
113
|
+
Lint/UselessRuby2Keywords:
|
114
|
+
Enabled: true
|
115
|
+
|
data/config/metrics.yml
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
Metrics/AbcSize:
|
2
|
+
Max: 20
|
3
|
+
CountRepeatedAttributes: false
|
4
|
+
# Excluding controllers here because respond_to blocks and others make this
|
5
|
+
# higher than they otherwise should be
|
6
|
+
Exclude:
|
7
|
+
- "**/app/controllers/**/*"
|
8
|
+
|
9
|
+
Metrics/BlockLength:
|
10
|
+
CountComments: false
|
11
|
+
Max: 25
|
12
|
+
Exclude:
|
13
|
+
- "**/spec/**/*"
|
14
|
+
- "**/*.rake"
|
15
|
+
- "**/factories/**/*"
|
16
|
+
- "**/config/**/*"
|
17
|
+
|
18
|
+
Metrics/CollectionLiteralLength:
|
19
|
+
Enabled: true
|
20
|
+
|
21
|
+
Metrics/ClassLength:
|
22
|
+
CountAsOne: ["array", "hash"]
|
23
|
+
Max: 100
|
24
|
+
Exclude:
|
25
|
+
- "**/app/controllers/**/*"
|
26
|
+
|
27
|
+
Metrics/CyclomaticComplexity:
|
28
|
+
Max: 10
|
29
|
+
|
30
|
+
Metrics/MethodLength:
|
31
|
+
CountAsOne: ["array", "hash", "method_call"]
|
32
|
+
Max: 20
|
33
|
+
|
34
|
+
Metrics/ModuleLength:
|
35
|
+
CountAsOne: ["array", "hash"]
|
36
|
+
Max: 100
|
37
|
+
Exclude:
|
38
|
+
- "**/spec/**/*"
|
39
|
+
|
40
|
+
Metrics/ParameterLists:
|
41
|
+
Max: 2
|
42
|
+
CountKeywordArgs: false
|
43
|
+
|
44
|
+
Metrics/PerceivedComplexity:
|
45
|
+
Max: 8
|
46
|
+
|
data/config/rails.yml
CHANGED
@@ -8,30 +8,6 @@ inherit_from:
|
|
8
8
|
- ./capybara.yml
|
9
9
|
- ./factory_bot.yml
|
10
10
|
|
11
|
-
Layout/BlockAlignment:
|
12
|
-
Exclude:
|
13
|
-
- "**/*.erb"
|
14
|
-
|
15
|
-
Layout/IndentationWidth:
|
16
|
-
Exclude:
|
17
|
-
- "**/*.erb"
|
18
|
-
|
19
|
-
Layout/InitialIndentation:
|
20
|
-
Exclude:
|
21
|
-
- "**/*.erb"
|
22
|
-
|
23
|
-
Layout/SpaceInsideParens:
|
24
|
-
Exclude:
|
25
|
-
- "**/*.erb"
|
26
|
-
|
27
|
-
Layout/TrailingEmptyLines:
|
28
|
-
Exclude:
|
29
|
-
- "**/*.erb"
|
30
|
-
|
31
|
-
Layout/TrailingWhitespace:
|
32
|
-
Exclude:
|
33
|
-
- "**/*.erb"
|
34
|
-
|
35
11
|
Rails/ActionControllerTestCase:
|
36
12
|
Enabled: false
|
37
13
|
|
@@ -227,5 +203,3 @@ Rails/WhereExists:
|
|
227
203
|
|
228
204
|
Rails/WhereNot:
|
229
205
|
Enabled: true
|
230
|
-
|
231
|
-
|
data/config/style.yml
ADDED
@@ -0,0 +1,243 @@
|
|
1
|
+
Style/ArgumentsForwarding:
|
2
|
+
Enabled: true
|
3
|
+
|
4
|
+
Style/ArrayCoercion:
|
5
|
+
Enabled: true
|
6
|
+
|
7
|
+
Style/ArrayIntersect:
|
8
|
+
Enabled: true
|
9
|
+
|
10
|
+
Style/AutoResourceCleanup:
|
11
|
+
Enabled: true
|
12
|
+
|
13
|
+
Style/CollectionCompact:
|
14
|
+
Enabled: true
|
15
|
+
|
16
|
+
Style/CollectionMethods:
|
17
|
+
Enabled: true
|
18
|
+
|
19
|
+
Style/ComparableClamp:
|
20
|
+
Enabled: true
|
21
|
+
|
22
|
+
Style/ConstantVisibility:
|
23
|
+
Enabled: true
|
24
|
+
|
25
|
+
Style/ConcatArrayLiterals:
|
26
|
+
Enabled: true
|
27
|
+
|
28
|
+
Style/DataInheritance:
|
29
|
+
Enabled: true
|
30
|
+
|
31
|
+
Style/DirEmpty:
|
32
|
+
Enabled: true
|
33
|
+
|
34
|
+
Style/Documentation:
|
35
|
+
Enabled: false
|
36
|
+
|
37
|
+
Style/DocumentDynamicEvalDefinition:
|
38
|
+
Enabled: true
|
39
|
+
|
40
|
+
Style/EmptyHeredoc:
|
41
|
+
Enabled: true
|
42
|
+
|
43
|
+
Style/EnvHome:
|
44
|
+
Enabled: true
|
45
|
+
|
46
|
+
Style/ExactRegexpMatch:
|
47
|
+
Enabled: true
|
48
|
+
|
49
|
+
Style/EndlessMethod:
|
50
|
+
Enabled: true
|
51
|
+
EnforcedStyle: disallow
|
52
|
+
|
53
|
+
Style/FileEmpty:
|
54
|
+
Enabled: true
|
55
|
+
|
56
|
+
Style/FileWrite:
|
57
|
+
Enabled: true
|
58
|
+
|
59
|
+
Style/FrozenStringLiteralComment:
|
60
|
+
Enabled: true
|
61
|
+
|
62
|
+
Style/FetchEnvVar:
|
63
|
+
Enabled: true
|
64
|
+
|
65
|
+
Style/FileRead:
|
66
|
+
Enabled: true
|
67
|
+
|
68
|
+
Style/HashConversion:
|
69
|
+
Enabled: true
|
70
|
+
|
71
|
+
Style/HashExcept:
|
72
|
+
Enabled: true
|
73
|
+
|
74
|
+
Style/IfWithBooleanLiteralBranches:
|
75
|
+
Enabled: true
|
76
|
+
|
77
|
+
Style/ImplicitRuntimeError:
|
78
|
+
Enabled: true
|
79
|
+
|
80
|
+
Style/InPatternThen:
|
81
|
+
Enabled: true
|
82
|
+
|
83
|
+
Style/InvertibleUnlessCondition:
|
84
|
+
Enabled: true
|
85
|
+
|
86
|
+
Style/InlineComment:
|
87
|
+
Enabled: true
|
88
|
+
|
89
|
+
Style/IpAddresses:
|
90
|
+
Enabled: true
|
91
|
+
|
92
|
+
Style/Lambda:
|
93
|
+
EnforcedStyle: literal
|
94
|
+
|
95
|
+
Style/MagicCommentFormat:
|
96
|
+
Enabled: true
|
97
|
+
|
98
|
+
Style/MultilineInPatternThen:
|
99
|
+
Enabled: true
|
100
|
+
|
101
|
+
Style/MapCompactWithConditionalBlock:
|
102
|
+
Enabled: true
|
103
|
+
|
104
|
+
Style/MapToHash:
|
105
|
+
Enabled: true
|
106
|
+
|
107
|
+
Style/MapToSet:
|
108
|
+
Enabled: true
|
109
|
+
|
110
|
+
Style/MethodCallWithArgsParentheses:
|
111
|
+
Enabled: false
|
112
|
+
|
113
|
+
Style/MethodCalledOnDoEndBlock:
|
114
|
+
Enabled: true
|
115
|
+
|
116
|
+
Style/MinMaxComparison:
|
117
|
+
Enabled: true
|
118
|
+
|
119
|
+
Style/MultilineMethodSignature:
|
120
|
+
Enabled: true
|
121
|
+
|
122
|
+
Style/NegatedIfElseCondition:
|
123
|
+
Enabled: true
|
124
|
+
|
125
|
+
Style/NestedFileDirname:
|
126
|
+
Enabled: true
|
127
|
+
|
128
|
+
Style/NilLambda:
|
129
|
+
Enabled: true
|
130
|
+
|
131
|
+
Style/NumberedParameters:
|
132
|
+
Enabled: true
|
133
|
+
EnforcedStyle: disallow
|
134
|
+
|
135
|
+
Style/NumberedParametersLimit:
|
136
|
+
Enabled: true
|
137
|
+
|
138
|
+
Style/NumericLiterals:
|
139
|
+
Enabled: true
|
140
|
+
Exclude:
|
141
|
+
- '**/db/migrate/*'
|
142
|
+
|
143
|
+
Style/ObjectThen:
|
144
|
+
Enabled: true
|
145
|
+
EnforcedStyle: then
|
146
|
+
|
147
|
+
Style/OpenStructUse:
|
148
|
+
Enabled: true
|
149
|
+
|
150
|
+
Style/OperatorMethodCall:
|
151
|
+
Enabled: true
|
152
|
+
|
153
|
+
Style/OptionHash:
|
154
|
+
Enabled: true
|
155
|
+
|
156
|
+
Style/QuotedSymbols:
|
157
|
+
Enabled: true
|
158
|
+
|
159
|
+
Style/RedundantArrayConstructor:
|
160
|
+
Enabled: true
|
161
|
+
|
162
|
+
Style/RedundantCurrentDirectoryInPath:
|
163
|
+
Enabled: true
|
164
|
+
|
165
|
+
Style/RedundantFilterChain:
|
166
|
+
Enabled: true
|
167
|
+
|
168
|
+
Style/RedundantHeredocDelimiterQuotes:
|
169
|
+
Enabled: true
|
170
|
+
|
171
|
+
Style/RedundantLineContinuation:
|
172
|
+
Enabled: true
|
173
|
+
|
174
|
+
Style/RedundantRegexpArgument:
|
175
|
+
Enabled: true
|
176
|
+
|
177
|
+
Style/RedundantRegexpConstructor:
|
178
|
+
Enabled: true
|
179
|
+
|
180
|
+
Style/RedundantSelfAssignmentBranch:
|
181
|
+
Enabled: true
|
182
|
+
|
183
|
+
Style/RedundantArgument:
|
184
|
+
Enabled: true
|
185
|
+
|
186
|
+
Style/RedundantConstantBase:
|
187
|
+
Enabled: true
|
188
|
+
|
189
|
+
Style/RedundantDoubleSplatHashBraces:
|
190
|
+
Enabled: true
|
191
|
+
|
192
|
+
Style/RedundantEach:
|
193
|
+
Enabled: true
|
194
|
+
|
195
|
+
Style/RedundantInitialize:
|
196
|
+
Enabled: true
|
197
|
+
|
198
|
+
Style/RedundantStringEscape:
|
199
|
+
Enabled: true
|
200
|
+
|
201
|
+
Style/ReturnNilInPredicateMethodDefinition:
|
202
|
+
Enabled: true
|
203
|
+
|
204
|
+
Style/SelectByRegexp:
|
205
|
+
Enabled: true
|
206
|
+
|
207
|
+
Style/SingleLineDoEndBlock:
|
208
|
+
Enabled: true
|
209
|
+
|
210
|
+
Style/StaticClass:
|
211
|
+
Enabled: true
|
212
|
+
|
213
|
+
Style/StringChars:
|
214
|
+
Enabled: true
|
215
|
+
|
216
|
+
Style/StringHashKeys:
|
217
|
+
Enabled: true
|
218
|
+
Exclude:
|
219
|
+
- "config/routes.rb"
|
220
|
+
|
221
|
+
Style/SwapValues:
|
222
|
+
Enabled: true
|
223
|
+
|
224
|
+
Style/StringLiterals:
|
225
|
+
EnforcedStyle: double_quotes
|
226
|
+
|
227
|
+
Style/StringLiteralsInInterpolation:
|
228
|
+
EnforcedStyle: double_quotes
|
229
|
+
|
230
|
+
Style/TopLevelMethodDefinition:
|
231
|
+
Enabled: true
|
232
|
+
|
233
|
+
Style/TrailingCommaInBlockArgs:
|
234
|
+
Enabled: true
|
235
|
+
|
236
|
+
Style/YAMLFileRead:
|
237
|
+
Enabled: true
|
238
|
+
|
239
|
+
Style/UnlessLogicalOperators:
|
240
|
+
Enabled: true
|
241
|
+
|
242
|
+
Style/WordArray:
|
243
|
+
Enabled: true
|
metadata
CHANGED
@@ -1,97 +1,97 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-inhouse
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nolan J Tait
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.5'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-capybara
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '2.1'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '2.1'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rubocop-performance
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '1.1'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '1.1'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rubocop-rails
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '2.2'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '2.2'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rubocop-rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0.6'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0.6'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rubocop-rspec
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '2.2'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '2.2'
|
97
97
|
description: This is the rubocop configuration we use at inhouse.work for all our
|
@@ -108,9 +108,13 @@ files:
|
|
108
108
|
- config/capybara.yml
|
109
109
|
- config/default.yml
|
110
110
|
- config/factory_bot.yml
|
111
|
+
- config/layout.yml
|
112
|
+
- config/lint.yml
|
113
|
+
- config/metrics.yml
|
111
114
|
- config/performance.yml
|
112
115
|
- config/rails.yml
|
113
116
|
- config/rspec.yml
|
117
|
+
- config/style.yml
|
114
118
|
- lib/rubocop-inhouse-rails.rb
|
115
119
|
- lib/rubocop-inhouse.rb
|
116
120
|
- lib/rubocop/inhouse.rb
|
@@ -138,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
142
|
- !ruby/object:Gem::Version
|
139
143
|
version: '0'
|
140
144
|
requirements: []
|
141
|
-
rubygems_version: 3.
|
145
|
+
rubygems_version: 3.5.3
|
142
146
|
signing_key:
|
143
147
|
specification_version: 4
|
144
148
|
summary: Rubocop configuration for InHouse projects
|