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