spicerack-styleguide 0.6.0.pre4 → 0.6.0.pre5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spicerack/styleguide/version.rb +1 -1
- data/rubocop.yml +1260 -0
- 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: 9b6f3a8494577c0273ac07b611fe1ca8b6e2f48f223f740cff98c3980ba02ed9
|
4
|
+
data.tar.gz: 40188a33f496b8142dfc1ca17101c0175e7931fa8ca225cfcfcfbad98564f0fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a35ac6e4c1b7b0b8473e79357e8087496aac9db56ae7fae0215fe93261e97ca350da57cfd84a3721138be680982b6389f8a0e6a6921d1e65f797f26d5ce2408
|
7
|
+
data.tar.gz: '08622888d91d1711b8c26fa3a28c31cd9b518fc5d3a89d837286281c0da81a6c2f256c00953180e3faae0b94d1c0bc9a854e6be26d98b35b3ac477045a5d5122'
|
data/rubocop.yml
ADDED
@@ -0,0 +1,1260 @@
|
|
1
|
+
require: rubocop-rspec
|
2
|
+
|
3
|
+
AllCops:
|
4
|
+
TargetRubyVersion: 2.5.3
|
5
|
+
Exclude:
|
6
|
+
- bin/**/*
|
7
|
+
- Gemfile*
|
8
|
+
- Rakefile
|
9
|
+
- spec/*_helper.rb
|
10
|
+
- db/**/*
|
11
|
+
- "**/*.gemspec"
|
12
|
+
|
13
|
+
Layout/AccessModifierIndentation:
|
14
|
+
Enabled: true
|
15
|
+
EnforcedStyle: indent
|
16
|
+
Layout/AlignArray:
|
17
|
+
Enabled: true
|
18
|
+
Layout/AlignHash:
|
19
|
+
Enabled: true
|
20
|
+
EnforcedHashRocketStyle: key
|
21
|
+
EnforcedColonStyle: key
|
22
|
+
EnforcedLastArgumentHashStyle: always_inspect
|
23
|
+
Layout/AlignParameters:
|
24
|
+
Enabled: true
|
25
|
+
EnforcedStyle: with_first_parameter
|
26
|
+
Layout/BlockAlignment:
|
27
|
+
Enabled: true
|
28
|
+
EnforcedStyleAlignWith: start_of_block
|
29
|
+
Layout/BlockEndNewline:
|
30
|
+
Enabled: true
|
31
|
+
Layout/CaseIndentation:
|
32
|
+
Enabled: false
|
33
|
+
Layout/ClassStructure:
|
34
|
+
Categories:
|
35
|
+
module_inclusion:
|
36
|
+
- include
|
37
|
+
- prepend
|
38
|
+
- extend
|
39
|
+
ExpectedOrder:
|
40
|
+
- module_inclusion
|
41
|
+
- constants
|
42
|
+
- public_class_methods
|
43
|
+
- initializer
|
44
|
+
- public_methods
|
45
|
+
- protected_methods
|
46
|
+
- private_methods
|
47
|
+
Layout/ClosingParenthesisIndentation:
|
48
|
+
Enabled: true
|
49
|
+
Layout/CommentIndentation:
|
50
|
+
Enabled: true
|
51
|
+
Layout/ConditionPosition:
|
52
|
+
Enabled: true
|
53
|
+
Layout/DefEndAlignment:
|
54
|
+
Enabled: true
|
55
|
+
EnforcedStyleAlignWith: def
|
56
|
+
Layout/DotPosition:
|
57
|
+
Enabled: true
|
58
|
+
EnforcedStyle: trailing
|
59
|
+
Layout/ElseAlignment:
|
60
|
+
Enabled: true
|
61
|
+
Layout/EmptyComment:
|
62
|
+
Enabled: true
|
63
|
+
AllowBorderComment: true
|
64
|
+
AllowMarginComment: true
|
65
|
+
Layout/EmptyLineAfterMagicComment:
|
66
|
+
Enabled: true
|
67
|
+
Layout/EmptyLineBetweenDefs:
|
68
|
+
Enabled: true
|
69
|
+
AllowAdjacentOneLineDefs: true
|
70
|
+
Layout/EmptyLines:
|
71
|
+
Enabled: false
|
72
|
+
Layout/EmptyLinesAroundAccessModifier:
|
73
|
+
Enabled: true
|
74
|
+
Layout/EmptyLinesAroundArguments:
|
75
|
+
Enabled: true
|
76
|
+
Layout/EmptyLinesAroundBeginBody:
|
77
|
+
Enabled: true
|
78
|
+
Layout/EmptyLinesAroundBlockBody:
|
79
|
+
Enabled: true
|
80
|
+
EnforcedStyle: no_empty_lines
|
81
|
+
Layout/EmptyLinesAroundClassBody:
|
82
|
+
Enabled: true
|
83
|
+
EnforcedStyle: no_empty_lines
|
84
|
+
Layout/EmptyLinesAroundExceptionHandlingKeywords:
|
85
|
+
Enabled: true
|
86
|
+
Layout/EmptyLinesAroundMethodBody:
|
87
|
+
Enabled: true
|
88
|
+
Layout/EmptyLinesAroundModuleBody:
|
89
|
+
Enabled: true
|
90
|
+
EnforcedStyle: no_empty_lines
|
91
|
+
Layout/EndAlignment:
|
92
|
+
Enabled: true
|
93
|
+
EnforcedStyleAlignWith: start_of_line
|
94
|
+
Layout/EndOfLine:
|
95
|
+
Enabled: true
|
96
|
+
EnforcedStyle: native
|
97
|
+
Layout/ExtraSpacing:
|
98
|
+
Enabled: true
|
99
|
+
AllowForAlignment: false
|
100
|
+
ForceEqualSignAlignment: false
|
101
|
+
Layout/FirstArrayElementLineBreak:
|
102
|
+
Enabled: false
|
103
|
+
Layout/FirstHashElementLineBreak:
|
104
|
+
Enabled: false
|
105
|
+
Layout/FirstMethodArgumentLineBreak:
|
106
|
+
Enabled: true
|
107
|
+
Layout/FirstMethodParameterLineBreak:
|
108
|
+
Enabled: true
|
109
|
+
Layout/FirstParameterIndentation:
|
110
|
+
Enabled: true
|
111
|
+
EnforcedStyle: consistent
|
112
|
+
Layout/IndentArray:
|
113
|
+
Enabled: true
|
114
|
+
EnforcedStyle: consistent
|
115
|
+
Layout/IndentAssignment:
|
116
|
+
Enabled: false
|
117
|
+
Layout/IndentHash:
|
118
|
+
Enabled: true
|
119
|
+
EnforcedStyle: consistent
|
120
|
+
Layout/IndentHeredoc:
|
121
|
+
Enabled: true
|
122
|
+
EnforcedStyle: auto_detection
|
123
|
+
Layout/IndentationConsistency:
|
124
|
+
Enabled: true
|
125
|
+
EnforcedStyle: normal
|
126
|
+
Layout/IndentationWidth:
|
127
|
+
Enabled: true
|
128
|
+
Width: 2
|
129
|
+
Layout/InitialIndentation:
|
130
|
+
Enabled: true
|
131
|
+
Layout/LeadingCommentSpace:
|
132
|
+
Enabled: true
|
133
|
+
Layout/MultilineArrayBraceLayout:
|
134
|
+
Enabled: true
|
135
|
+
EnforcedStyle: symmetrical
|
136
|
+
Layout/MultilineAssignmentLayout:
|
137
|
+
Enabled: false
|
138
|
+
Layout/MultilineBlockLayout:
|
139
|
+
Enabled: true
|
140
|
+
Layout/MultilineHashBraceLayout:
|
141
|
+
Enabled: true
|
142
|
+
EnforcedStyle: symmetrical
|
143
|
+
Layout/MultilineMethodCallBraceLayout:
|
144
|
+
Enabled: true
|
145
|
+
EnforcedStyle: new_line
|
146
|
+
Layout/MultilineMethodCallIndentation:
|
147
|
+
Enabled: true
|
148
|
+
EnforcedStyle: indented
|
149
|
+
Layout/MultilineMethodDefinitionBraceLayout:
|
150
|
+
Enabled: true
|
151
|
+
EnforcedStyle: new_line
|
152
|
+
Layout/MultilineOperationIndentation:
|
153
|
+
Enabled: true
|
154
|
+
EnforcedStyle: aligned
|
155
|
+
Layout/RescueEnsureAlignment:
|
156
|
+
Enabled: true
|
157
|
+
Layout/SpaceAfterColon:
|
158
|
+
Enabled: true
|
159
|
+
Layout/SpaceAfterComma:
|
160
|
+
Enabled: true
|
161
|
+
Layout/SpaceAfterMethodName:
|
162
|
+
Enabled: true
|
163
|
+
Layout/SpaceAfterNot:
|
164
|
+
Enabled: true
|
165
|
+
Layout/SpaceAfterSemicolon:
|
166
|
+
Enabled: true
|
167
|
+
Layout/SpaceAroundBlockParameters:
|
168
|
+
Enabled: true
|
169
|
+
EnforcedStyleInsidePipes: no_space
|
170
|
+
Layout/SpaceAroundEqualsInParameterDefault:
|
171
|
+
Enabled: true
|
172
|
+
EnforcedStyle: space
|
173
|
+
Layout/SpaceAroundKeyword:
|
174
|
+
Enabled: true
|
175
|
+
Layout/SpaceAroundOperators:
|
176
|
+
Enabled: true
|
177
|
+
Layout/SpaceBeforeBlockBraces:
|
178
|
+
Enabled: true
|
179
|
+
EnforcedStyle: space
|
180
|
+
Layout/SpaceBeforeComma:
|
181
|
+
Enabled: true
|
182
|
+
Layout/SpaceBeforeComment:
|
183
|
+
Enabled: true
|
184
|
+
Layout/SpaceBeforeFirstArg:
|
185
|
+
Enabled: true
|
186
|
+
Layout/SpaceBeforeSemicolon:
|
187
|
+
Enabled: true
|
188
|
+
Layout/SpaceInLambdaLiteral:
|
189
|
+
Enabled: true
|
190
|
+
EnforcedStyle: require_no_space
|
191
|
+
Layout/SpaceInsideArrayLiteralBrackets:
|
192
|
+
Enabled: true
|
193
|
+
EnforcedStyle: compact
|
194
|
+
EnforcedStyleForEmptyBrackets: no_space
|
195
|
+
Layout/SpaceInsideArrayPercentLiteral:
|
196
|
+
Enabled: true
|
197
|
+
Layout/SpaceInsideBlockBraces:
|
198
|
+
Enabled: true
|
199
|
+
EnforcedStyle: space
|
200
|
+
EnforcedStyleForEmptyBraces: no_space
|
201
|
+
SpaceBeforeBlockParameters: true
|
202
|
+
Layout/SpaceInsideHashLiteralBraces:
|
203
|
+
Enabled: true
|
204
|
+
EnforcedStyle: compact
|
205
|
+
EnforcedStyleForEmptyBraces: no_space
|
206
|
+
Layout/SpaceInsideParens:
|
207
|
+
Enabled: true
|
208
|
+
Layout/SpaceInsidePercentLiteralDelimiters:
|
209
|
+
Enabled: true
|
210
|
+
Layout/SpaceInsideRangeLiteral:
|
211
|
+
Enabled: true
|
212
|
+
Layout/SpaceInsideReferenceBrackets:
|
213
|
+
Enabled: true
|
214
|
+
EnforcedStyle: no_space
|
215
|
+
EnforcedStyleForEmptyBrackets: no_space
|
216
|
+
Layout/SpaceInsideStringInterpolation:
|
217
|
+
EnforcedStyle: no_space
|
218
|
+
Layout/Tab:
|
219
|
+
Enabled: true
|
220
|
+
Layout/TrailingBlankLines:
|
221
|
+
Enabled: true
|
222
|
+
EnforcedStyle: final_newline
|
223
|
+
Layout/TrailingWhitespace:
|
224
|
+
Enabled: true
|
225
|
+
|
226
|
+
Lint/AmbiguousBlockAssociation:
|
227
|
+
Enabled: true
|
228
|
+
Exclude:
|
229
|
+
- spec/**/*
|
230
|
+
Lint/AmbiguousOperator:
|
231
|
+
Enabled: true
|
232
|
+
Lint/AmbiguousRegexpLiteral:
|
233
|
+
Enabled: true
|
234
|
+
Lint/AssignmentInCondition:
|
235
|
+
Enabled: true
|
236
|
+
Lint/BigDecimalNew:
|
237
|
+
Enabled: false
|
238
|
+
Lint/BooleanSymbol:
|
239
|
+
Enabled: true
|
240
|
+
Lint/CircularArgumentReference:
|
241
|
+
Enabled: true
|
242
|
+
Lint/Debugger:
|
243
|
+
Enabled: true
|
244
|
+
Lint/DeprecatedClassMethods:
|
245
|
+
Enabled: true
|
246
|
+
Lint/DuplicateCaseCondition:
|
247
|
+
Enabled: true
|
248
|
+
Lint/DuplicateMethods:
|
249
|
+
Enabled: true
|
250
|
+
Lint/DuplicatedKey:
|
251
|
+
Enabled: true
|
252
|
+
Lint/EachWithObjectArgument:
|
253
|
+
Enabled: true
|
254
|
+
Lint/ElseLayout:
|
255
|
+
Enabled: true
|
256
|
+
Lint/EmptyEnsure:
|
257
|
+
Enabled: true
|
258
|
+
Lint/EmptyExpression:
|
259
|
+
Enabled: true
|
260
|
+
Lint/EmptyInterpolation:
|
261
|
+
Enabled: true
|
262
|
+
Lint/EmptyWhen:
|
263
|
+
Enabled: true
|
264
|
+
Lint/EndInMethod:
|
265
|
+
Enabled: true
|
266
|
+
Lint/EnsureReturn:
|
267
|
+
Enabled: true
|
268
|
+
Lint/FloatOutOfRange:
|
269
|
+
Enabled: true
|
270
|
+
Lint/FormatParameterMismatch:
|
271
|
+
Enabled: true
|
272
|
+
Lint/HandleExceptions:
|
273
|
+
Enabled: true
|
274
|
+
Lint/ImplicitStringConcatenation:
|
275
|
+
Enabled: true
|
276
|
+
Lint/IneffectiveAccessModifier:
|
277
|
+
Enabled: true
|
278
|
+
Lint/InheritException:
|
279
|
+
Enabled: true
|
280
|
+
EnforcedStyle: standard_error
|
281
|
+
Lint/InterpolationCheck:
|
282
|
+
Enabled: false
|
283
|
+
Lint/LiteralAsCondition:
|
284
|
+
Enabled: true
|
285
|
+
Lint/LiteralInInterpolation:
|
286
|
+
Enabled: true
|
287
|
+
Lint/Loop:
|
288
|
+
Enabled: true
|
289
|
+
Lint/MissingCopEnableDirective:
|
290
|
+
Enabled: true
|
291
|
+
Lint/MultipleCompare:
|
292
|
+
Enabled: true
|
293
|
+
Lint/NestedMethodDefinition:
|
294
|
+
Enabled: true
|
295
|
+
Lint/NestedPercentLiteral:
|
296
|
+
Enabled: true
|
297
|
+
Lint/NextWithoutAccumulator:
|
298
|
+
Enabled: true
|
299
|
+
Lint/NonLocalExitFromIterator:
|
300
|
+
Enabled: true
|
301
|
+
Lint/NumberConversion:
|
302
|
+
Enabled: false
|
303
|
+
Lint/OrderedMagicComments:
|
304
|
+
Enabled: true
|
305
|
+
Lint/ParenthesesAsGroupedExpression:
|
306
|
+
Enabled: true
|
307
|
+
Lint/PercentStringArray:
|
308
|
+
Enabled: true
|
309
|
+
Lint/PercentSymbolArray:
|
310
|
+
Enabled: true
|
311
|
+
Lint/RandOne:
|
312
|
+
Enabled: true
|
313
|
+
Lint/RedundantWithIndex:
|
314
|
+
Enabled: true
|
315
|
+
Lint/RedundantWithObject:
|
316
|
+
Enabled: true
|
317
|
+
Lint/RegexpAsCondition:
|
318
|
+
Enabled: true
|
319
|
+
Lint/RequireParentheses:
|
320
|
+
Enabled: true
|
321
|
+
Lint/RescueException:
|
322
|
+
Enabled: true
|
323
|
+
Lint/RescueType:
|
324
|
+
Enabled: true
|
325
|
+
Lint/ReturnInVoidContext:
|
326
|
+
Enabled: true
|
327
|
+
Lint/SafeNavigationChain:
|
328
|
+
Enabled: true
|
329
|
+
Lint/ScriptPermission:
|
330
|
+
Enabled: true
|
331
|
+
Lint/ShadowedArgument:
|
332
|
+
Enabled: true
|
333
|
+
Lint/ShadowedException:
|
334
|
+
Enabled: true
|
335
|
+
Lint/ShadowingOuterLocalVariable:
|
336
|
+
Enabled: true
|
337
|
+
Lint/StringConversionInInterpolation:
|
338
|
+
Enabled: true
|
339
|
+
Lint/UnderscorePrefixedVariableName:
|
340
|
+
Enabled: true
|
341
|
+
Lint/UnifiedInteger:
|
342
|
+
Enabled: true
|
343
|
+
Lint/UnneededCopDisableDirective:
|
344
|
+
Enabled: true
|
345
|
+
Lint/UnneededCopEnableDirective:
|
346
|
+
Enabled: true
|
347
|
+
Lint/UnneededRequireStatement:
|
348
|
+
Enabled: true
|
349
|
+
Lint/UnneededSplatExpansion:
|
350
|
+
Enabled: true
|
351
|
+
Lint/UnreachableCode:
|
352
|
+
Enabled: true
|
353
|
+
Lint/UnusedBlockArgument:
|
354
|
+
Enabled: true
|
355
|
+
Lint/UnusedMethodArgument:
|
356
|
+
Enabled: true
|
357
|
+
Lint/UriEscapeUnescape:
|
358
|
+
Enabled: true
|
359
|
+
Lint/UriRegexp:
|
360
|
+
Enabled: true
|
361
|
+
Lint/UselessAccessModifier:
|
362
|
+
Enabled: true
|
363
|
+
Lint/UselessAssignment:
|
364
|
+
Enabled: true
|
365
|
+
Lint/UselessComparison:
|
366
|
+
Enabled: true
|
367
|
+
Lint/UselessElseWithoutRescue:
|
368
|
+
Enabled: true
|
369
|
+
Lint/UselessSetterCall:
|
370
|
+
Enabled: true
|
371
|
+
Lint/Void:
|
372
|
+
Enabled: true
|
373
|
+
CheckForMethodsWithNoSideEffects: true
|
374
|
+
|
375
|
+
Metrics/AbcSize:
|
376
|
+
Enabled: true
|
377
|
+
Max: 32
|
378
|
+
Metrics/BlockLength:
|
379
|
+
Enabled: true
|
380
|
+
Max: 24
|
381
|
+
Exclude:
|
382
|
+
- config/environments/*
|
383
|
+
- spec/**/*
|
384
|
+
Metrics/BlockNesting:
|
385
|
+
Enabled: true
|
386
|
+
Max: 3
|
387
|
+
Metrics/ClassLength:
|
388
|
+
Enabled: false
|
389
|
+
Max: 240
|
390
|
+
Metrics/CyclomaticComplexity:
|
391
|
+
Enabled: true
|
392
|
+
Max: 6
|
393
|
+
Metrics/LineLength:
|
394
|
+
Enabled: false
|
395
|
+
Max: 120
|
396
|
+
Metrics/MethodLength:
|
397
|
+
Enabled: true
|
398
|
+
Max: 24
|
399
|
+
Metrics/ModuleLength:
|
400
|
+
Enabled: false
|
401
|
+
Max: 240
|
402
|
+
Metrics/ParameterLists:
|
403
|
+
Enabled: true
|
404
|
+
Max: 6
|
405
|
+
Metrics/PerceivedComplexity:
|
406
|
+
Enabled: true
|
407
|
+
Max: 6
|
408
|
+
|
409
|
+
Naming/AccessorMethodName:
|
410
|
+
Enabled: true
|
411
|
+
Naming/AsciiIdentifiers:
|
412
|
+
Enabled: true
|
413
|
+
Naming/BinaryOperatorParameterName:
|
414
|
+
Enabled: true
|
415
|
+
Naming/ClassAndModuleCamelCase:
|
416
|
+
Enabled: true
|
417
|
+
Naming/ConstantName:
|
418
|
+
Enabled: true
|
419
|
+
Naming/FileName:
|
420
|
+
Enabled: true
|
421
|
+
Naming/HeredocDelimiterCase:
|
422
|
+
Enabled: true
|
423
|
+
EnforcedStyle: uppercase
|
424
|
+
Naming/HeredocDelimiterNaming:
|
425
|
+
Enabled: true
|
426
|
+
Naming/MemoizedInstanceVariableName:
|
427
|
+
Enabled: true
|
428
|
+
Naming/MethodName:
|
429
|
+
Enabled: true
|
430
|
+
EnforcedStyle: snake_case
|
431
|
+
Naming/PredicateName:
|
432
|
+
Enabled: true
|
433
|
+
NamePrefix:
|
434
|
+
- is_
|
435
|
+
- has_
|
436
|
+
- have_
|
437
|
+
NamePrefixBlacklist:
|
438
|
+
- is_
|
439
|
+
- has_
|
440
|
+
- have_
|
441
|
+
NameWhitelist:
|
442
|
+
- is_a?
|
443
|
+
MethodDefinitionMacros:
|
444
|
+
- define_method
|
445
|
+
- define_singleton_method
|
446
|
+
Exclude:
|
447
|
+
- app/serializers/*_serializer.rb
|
448
|
+
- spec/**/*
|
449
|
+
Naming/UncommunicativeBlockParamName:
|
450
|
+
Enabled: true
|
451
|
+
MinNameLength: 1
|
452
|
+
AllowNamesEndingInNumbers: true
|
453
|
+
Naming/UncommunicativeMethodParamName:
|
454
|
+
Enabled: true
|
455
|
+
MinNameLength: 2
|
456
|
+
AllowNamesEndingInNumbers: true
|
457
|
+
AllowedNames:
|
458
|
+
- a
|
459
|
+
- b
|
460
|
+
- io
|
461
|
+
- id
|
462
|
+
- to
|
463
|
+
- by
|
464
|
+
- on
|
465
|
+
- in
|
466
|
+
- at
|
467
|
+
Naming/VariableName:
|
468
|
+
Enabled: true
|
469
|
+
EnforcedStyle: snake_case
|
470
|
+
Naming/VariableNumber:
|
471
|
+
Enabled: true
|
472
|
+
EnforcedStyle: normalcase
|
473
|
+
|
474
|
+
Performance/Caller:
|
475
|
+
Enabled: false
|
476
|
+
Performance/CaseWhenSplat:
|
477
|
+
Enabled: true
|
478
|
+
Performance/Casecmp:
|
479
|
+
Enabled: true
|
480
|
+
Performance/CompareWithBlock:
|
481
|
+
Enabled: true
|
482
|
+
Performance/Count:
|
483
|
+
Enabled: true
|
484
|
+
Performance/Detect:
|
485
|
+
Enabled: true
|
486
|
+
Performance/DoubleStartEndWith:
|
487
|
+
Enabled: true
|
488
|
+
Performance/EndWith:
|
489
|
+
Enabled: true
|
490
|
+
Performance/FixedSize:
|
491
|
+
Enabled: true
|
492
|
+
Performance/FlatMap:
|
493
|
+
Enabled: true
|
494
|
+
Performance/LstripRstrip:
|
495
|
+
Enabled: true
|
496
|
+
Performance/RangeInclude:
|
497
|
+
Enabled: true
|
498
|
+
Performance/RedundantBlockCall:
|
499
|
+
Enabled: true
|
500
|
+
Performance/RedundantMatch:
|
501
|
+
Enabled: true
|
502
|
+
Performance/RedundantMerge:
|
503
|
+
Enabled: true
|
504
|
+
Performance/RedundantSortBy:
|
505
|
+
Enabled: true
|
506
|
+
Performance/RegexpMatch:
|
507
|
+
Enabled: true
|
508
|
+
Performance/ReverseEach:
|
509
|
+
Enabled: true
|
510
|
+
Performance/Sample:
|
511
|
+
Enabled: true
|
512
|
+
Performance/Size:
|
513
|
+
Enabled: true
|
514
|
+
Performance/StartWith:
|
515
|
+
Enabled: true
|
516
|
+
Performance/StringReplacement:
|
517
|
+
Enabled: true
|
518
|
+
Performance/TimesMap:
|
519
|
+
Enabled: true
|
520
|
+
Performance/UnfreezeString:
|
521
|
+
Enabled: true
|
522
|
+
Performance/UriDefaultParser:
|
523
|
+
Enabled: true
|
524
|
+
|
525
|
+
Rails/ActionFilter:
|
526
|
+
Enabled: true
|
527
|
+
EnforcedStyle: action
|
528
|
+
Rails/ActiveRecordAliases:
|
529
|
+
Enabled: true
|
530
|
+
Rails/ActiveSupportAliases:
|
531
|
+
Enabled: true
|
532
|
+
Rails/ApplicationJob:
|
533
|
+
Enabled: true
|
534
|
+
Rails/ApplicationRecord:
|
535
|
+
Enabled: true
|
536
|
+
Rails/Blank:
|
537
|
+
Enabled: true
|
538
|
+
Rails/CreateTableWithTimestamps:
|
539
|
+
Enabled: true
|
540
|
+
Rails/Date:
|
541
|
+
Enabled: true
|
542
|
+
EnforcedStyle: flexible
|
543
|
+
Rails/Delegate:
|
544
|
+
Enabled: true
|
545
|
+
Rails/DelegateAllowBlank:
|
546
|
+
Enabled: true
|
547
|
+
Rails/DynamicFindBy:
|
548
|
+
Enabled: true
|
549
|
+
Rails/EnumUniqueness:
|
550
|
+
Enabled: true
|
551
|
+
Rails/EnvironmentComparison:
|
552
|
+
Enabled: true
|
553
|
+
Rails/Exit:
|
554
|
+
Enabled: true
|
555
|
+
Rails/FilePath:
|
556
|
+
Enabled: true
|
557
|
+
Rails/FindBy:
|
558
|
+
Enabled: true
|
559
|
+
Include:
|
560
|
+
- app/models/**/*.rb
|
561
|
+
Rails/FindEach:
|
562
|
+
Enabled: true
|
563
|
+
Include:
|
564
|
+
- app/models/**/*.rb
|
565
|
+
Rails/HasAndBelongsToMany:
|
566
|
+
Enabled: true
|
567
|
+
Include:
|
568
|
+
- app/models/**/*.rb
|
569
|
+
Rails/HasManyOrHasOneDependent:
|
570
|
+
Enabled: false
|
571
|
+
Rails/HttpPositionalArguments:
|
572
|
+
Enabled: true
|
573
|
+
Include:
|
574
|
+
- spec/**/*
|
575
|
+
Rails/HttpStatus:
|
576
|
+
Enabled: true
|
577
|
+
EnforcedStyle: symbolic
|
578
|
+
Rails/InverseOf:
|
579
|
+
Enabled: true
|
580
|
+
Include:
|
581
|
+
- app/models/**/*.rb
|
582
|
+
Rails/LexicallyScopedActionFilter:
|
583
|
+
Enabled: true
|
584
|
+
Include:
|
585
|
+
- app/controllers/**/*.rb
|
586
|
+
Rails/NotNullColumn:
|
587
|
+
Enabled: true
|
588
|
+
Include:
|
589
|
+
- db/migrate/*.rb
|
590
|
+
Rails/Output:
|
591
|
+
Enabled: true
|
592
|
+
Include:
|
593
|
+
- app/**/*.rb
|
594
|
+
- config/**/*.rb
|
595
|
+
- db/**/*.rb
|
596
|
+
- lib/**/*.rb
|
597
|
+
Rails/OutputSafety:
|
598
|
+
Enabled: true
|
599
|
+
Rails/PluralizationGrammar:
|
600
|
+
Enabled: true
|
601
|
+
Rails/Presence:
|
602
|
+
Enabled: true
|
603
|
+
Rails/Present:
|
604
|
+
Enabled: true
|
605
|
+
NotNilAndNotEmpty: true
|
606
|
+
NotBlank: true
|
607
|
+
UnlessBlank: true
|
608
|
+
Rails/ReadWriteAttribute:
|
609
|
+
Enabled: true
|
610
|
+
Include:
|
611
|
+
- app/models/**/*.rb
|
612
|
+
Rails/RedundantReceiverInWithOptions:
|
613
|
+
Enabled: true
|
614
|
+
Rails/RelativeDateConstant:
|
615
|
+
Enabled: true
|
616
|
+
Rails/RequestReferer:
|
617
|
+
Enabled: true
|
618
|
+
EnforcedStyle: referer
|
619
|
+
Rails/ReversibleMigration:
|
620
|
+
Enabled: true
|
621
|
+
Include:
|
622
|
+
- db/migrate/*.rb
|
623
|
+
Rails/SafeNavigation:
|
624
|
+
Enabled: true
|
625
|
+
Rails/SaveBang:
|
626
|
+
Enabled: true
|
627
|
+
Rails/ScopeArgs:
|
628
|
+
Enabled: true
|
629
|
+
Include:
|
630
|
+
- app/models/**/*.rb
|
631
|
+
Rails/SkipsModelValidations:
|
632
|
+
Enabled: true
|
633
|
+
Blacklist:
|
634
|
+
- decrement!
|
635
|
+
- decrement_counter
|
636
|
+
- increment!
|
637
|
+
- increment_counter
|
638
|
+
- toggle!
|
639
|
+
- touch
|
640
|
+
- update_all
|
641
|
+
- update_attribute
|
642
|
+
- update_column
|
643
|
+
- update_columns
|
644
|
+
- update_counters
|
645
|
+
Rails/TimeZone:
|
646
|
+
Enabled: true
|
647
|
+
EnforcedStyle: flexible
|
648
|
+
Rails/UniqBeforePluck:
|
649
|
+
Enabled: true
|
650
|
+
EnforcedStyle: conservative
|
651
|
+
Rails/UnknownEnv:
|
652
|
+
Enabled: true
|
653
|
+
Environments:
|
654
|
+
- development
|
655
|
+
- test
|
656
|
+
- production
|
657
|
+
Rails/Validation:
|
658
|
+
Enabled: true
|
659
|
+
Include:
|
660
|
+
- app/models/**/*.rb
|
661
|
+
|
662
|
+
Security/Eval:
|
663
|
+
Enabled: true
|
664
|
+
Security/JSONLoad:
|
665
|
+
Enabled: true
|
666
|
+
Security/MarshalLoad:
|
667
|
+
Enabled: true
|
668
|
+
Security/Open:
|
669
|
+
Enabled: true
|
670
|
+
Security/YAMLLoad:
|
671
|
+
Enabled: true
|
672
|
+
|
673
|
+
Style/Alias:
|
674
|
+
Enabled: true
|
675
|
+
EnforcedStyle: prefer_alias_method
|
676
|
+
Style/AndOr:
|
677
|
+
Enabled: true
|
678
|
+
EnforcedStyle: conditionals
|
679
|
+
Style/ArrayJoin:
|
680
|
+
Enabled: true
|
681
|
+
Style/AsciiComments:
|
682
|
+
Enabled: false
|
683
|
+
Style/Attr:
|
684
|
+
Enabled: true
|
685
|
+
Style/AutoResourceCleanup:
|
686
|
+
Enabled: true
|
687
|
+
Style/BarePercentLiterals:
|
688
|
+
Enabled: true
|
689
|
+
EnforcedStyle: bare_percent
|
690
|
+
Style/BeginBlock:
|
691
|
+
Enabled: true
|
692
|
+
Style/BlockComments:
|
693
|
+
Enabled: true
|
694
|
+
Style/BlockDelimiters:
|
695
|
+
Enabled: true
|
696
|
+
EnforcedStyle: line_count_based
|
697
|
+
Style/BracesAroundHashParameters:
|
698
|
+
Enabled: true
|
699
|
+
EnforcedStyle: context_dependent
|
700
|
+
Style/CaseEquality:
|
701
|
+
Enabled: true
|
702
|
+
Style/CharacterLiteral:
|
703
|
+
Enabled: true
|
704
|
+
Style/ClassAndModuleChildren:
|
705
|
+
Enabled: true
|
706
|
+
EnforcedStyle: nested
|
707
|
+
Style/ClassCheck:
|
708
|
+
Enabled: true
|
709
|
+
EnforcedStyle: is_a?
|
710
|
+
Style/ClassMethods:
|
711
|
+
Enabled: true
|
712
|
+
Style/ClassVars:
|
713
|
+
Enabled: true
|
714
|
+
Style/CollectionMethods:
|
715
|
+
Enabled: false
|
716
|
+
Style/ColonMethodCall:
|
717
|
+
Enabled: true
|
718
|
+
Style/ColonMethodDefinition:
|
719
|
+
Enabled: true
|
720
|
+
Style/CommandLiteral:
|
721
|
+
Enabled: false
|
722
|
+
Style/CommentAnnotation:
|
723
|
+
Enabled: true
|
724
|
+
Keywords:
|
725
|
+
- TODO
|
726
|
+
- FIXME
|
727
|
+
- OPTIMIZE
|
728
|
+
- HACK
|
729
|
+
- REVIEW
|
730
|
+
Style/CommentedKeyword:
|
731
|
+
Enabled: true
|
732
|
+
Style/ConditionalAssignment:
|
733
|
+
Enabled: true
|
734
|
+
EnforcedStyle: assign_inside_condition
|
735
|
+
SingleLineConditionsOnly: false
|
736
|
+
IncludeTernaryExpressions: false
|
737
|
+
Style/Copyright:
|
738
|
+
Enabled: false
|
739
|
+
Style/DateTime:
|
740
|
+
Enabled: true
|
741
|
+
Style/DefWithParentheses:
|
742
|
+
Enabled: true
|
743
|
+
Style/Dir:
|
744
|
+
Enabled: true
|
745
|
+
Style/Documentation:
|
746
|
+
Enabled: false
|
747
|
+
Style/DocumentationMethod:
|
748
|
+
Enabled: false
|
749
|
+
Style/DoubleNegation:
|
750
|
+
Enabled: true
|
751
|
+
Style/EachForSimpleLoop:
|
752
|
+
Enabled: true
|
753
|
+
Style/EachWithObject:
|
754
|
+
Enabled: true
|
755
|
+
Style/EmptyBlockParameter:
|
756
|
+
Enabled: true
|
757
|
+
Style/EmptyCaseCondition:
|
758
|
+
Enabled: true
|
759
|
+
Style/EmptyElse:
|
760
|
+
Enabled: true
|
761
|
+
EnforcedStyle: both
|
762
|
+
Style/EmptyLambdaParameter:
|
763
|
+
Enabled: true
|
764
|
+
Layout/EmptyLineAfterGuardClause:
|
765
|
+
Enabled: true
|
766
|
+
Style/EmptyLiteral:
|
767
|
+
Enabled: true
|
768
|
+
Style/EmptyMethod:
|
769
|
+
Enabled: true
|
770
|
+
EnforcedStyle: compact
|
771
|
+
Style/Encoding:
|
772
|
+
Enabled: true
|
773
|
+
Style/EndBlock:
|
774
|
+
Enabled: true
|
775
|
+
Style/EvalWithLocation:
|
776
|
+
Enabled: false
|
777
|
+
Style/EvenOdd:
|
778
|
+
Enabled: true
|
779
|
+
Style/ExpandPathArguments:
|
780
|
+
Enabled: true
|
781
|
+
Style/FlipFlop:
|
782
|
+
Enabled: true
|
783
|
+
Style/For:
|
784
|
+
Enabled: true
|
785
|
+
EnforcedStyle: each
|
786
|
+
Style/FormatString:
|
787
|
+
Enabled: true
|
788
|
+
EnforcedStyle: percent
|
789
|
+
Style/FormatStringToken:
|
790
|
+
Enabled: true
|
791
|
+
EnforcedStyle: template
|
792
|
+
Style/FrozenStringLiteralComment:
|
793
|
+
Enabled: true
|
794
|
+
EnforcedStyle: always
|
795
|
+
Style/GlobalVars:
|
796
|
+
Enabled: true
|
797
|
+
Style/GuardClause:
|
798
|
+
Enabled: true
|
799
|
+
MinBodyLength: 1
|
800
|
+
Style/HashSyntax:
|
801
|
+
Enabled: true
|
802
|
+
EnforcedStyle: ruby19_no_mixed_keys
|
803
|
+
UseHashRocketsWithSymbolValues: false
|
804
|
+
PreferHashRocketsForNonAlnumEndingSymbols: false
|
805
|
+
Style/IdenticalConditionalBranches:
|
806
|
+
Enabled: true
|
807
|
+
Style/IfInsideElse:
|
808
|
+
Enabled: true
|
809
|
+
Style/IfUnlessModifier:
|
810
|
+
Enabled: true
|
811
|
+
Style/IfUnlessModifierOfIfUnless:
|
812
|
+
Enabled: true
|
813
|
+
Style/IfWithSemicolon:
|
814
|
+
Enabled: true
|
815
|
+
Style/ImplicitRuntimeError:
|
816
|
+
Enabled: true
|
817
|
+
Style/InfiniteLoop:
|
818
|
+
Enabled: true
|
819
|
+
Style/InlineComment:
|
820
|
+
Enabled: true
|
821
|
+
Style/InverseMethods:
|
822
|
+
Enabled: true
|
823
|
+
Style/Lambda:
|
824
|
+
Enabled: true
|
825
|
+
EnforcedStyle: line_count_dependent
|
826
|
+
Style/LambdaCall:
|
827
|
+
Enabled: true
|
828
|
+
EnforcedStyle: call
|
829
|
+
Style/LineEndConcatenation:
|
830
|
+
Enabled: true
|
831
|
+
Style/MethodCallWithArgsParentheses:
|
832
|
+
Enabled: false
|
833
|
+
Style/MethodCallWithoutArgsParentheses:
|
834
|
+
Enabled: true
|
835
|
+
Style/MethodCalledOnDoEndBlock:
|
836
|
+
Enabled: true
|
837
|
+
Style/MethodDefParentheses:
|
838
|
+
Enabled: true
|
839
|
+
EnforcedStyle: require_parentheses
|
840
|
+
Style/MinMax:
|
841
|
+
Enabled: true
|
842
|
+
Style/MissingElse:
|
843
|
+
Enabled: false
|
844
|
+
Style/MixinGrouping:
|
845
|
+
Enabled: true
|
846
|
+
EnforcedStyle: separated
|
847
|
+
Style/MixinUsage:
|
848
|
+
Enabled: true
|
849
|
+
Style/ModuleFunction:
|
850
|
+
Enabled: true
|
851
|
+
EnforcedStyle: module_function
|
852
|
+
Style/MultilineBlockChain:
|
853
|
+
Enabled: true
|
854
|
+
Style/MultilineIfModifier:
|
855
|
+
Enabled: true
|
856
|
+
Style/MethodMissingSuper:
|
857
|
+
Enabled: true
|
858
|
+
Style/MissingRespondToMissing:
|
859
|
+
Enabled: true
|
860
|
+
Style/MultilineIfThen:
|
861
|
+
Enabled: false
|
862
|
+
Style/MultilineMemoization:
|
863
|
+
Enabled: true
|
864
|
+
EnforcedStyle: keyword
|
865
|
+
Style/MultilineTernaryOperator:
|
866
|
+
Enabled: true
|
867
|
+
Style/MultipleComparison:
|
868
|
+
Enabled: true
|
869
|
+
Style/MutableConstant:
|
870
|
+
Enabled: true
|
871
|
+
Style/NegatedIf:
|
872
|
+
Enabled: true
|
873
|
+
EnforcedStyle: both
|
874
|
+
Style/NegatedWhile:
|
875
|
+
Enabled: true
|
876
|
+
Style/NestedModifier:
|
877
|
+
Enabled: true
|
878
|
+
Style/NestedParenthesizedCalls:
|
879
|
+
Enabled: true
|
880
|
+
Whitelist:
|
881
|
+
- be
|
882
|
+
- be_a
|
883
|
+
- be_an
|
884
|
+
- be_between
|
885
|
+
- be_falsey
|
886
|
+
- be_kind_of
|
887
|
+
- be_instance_of
|
888
|
+
- be_truthy
|
889
|
+
- be_within
|
890
|
+
- eq
|
891
|
+
- eql
|
892
|
+
- end_with
|
893
|
+
- include
|
894
|
+
- match
|
895
|
+
- raise_error
|
896
|
+
- respond_to
|
897
|
+
- start_with
|
898
|
+
Style/NestedTernaryOperator:
|
899
|
+
Enabled: true
|
900
|
+
Style/Next:
|
901
|
+
Enabled: true
|
902
|
+
EnforcedStyle: skip_modifier_ifs
|
903
|
+
Style/NilComparison:
|
904
|
+
Enabled: true
|
905
|
+
Style/NonNilCheck:
|
906
|
+
Enabled: true
|
907
|
+
Style/Not:
|
908
|
+
Enabled: true
|
909
|
+
Style/NumericLiteralPrefix:
|
910
|
+
Enabled: false
|
911
|
+
Style/NumericLiterals:
|
912
|
+
Enabled: true
|
913
|
+
MinDigits: 5
|
914
|
+
Strict: false
|
915
|
+
Style/NumericPredicate:
|
916
|
+
Enabled: true
|
917
|
+
EnforcedStyle: comparison
|
918
|
+
Exclude:
|
919
|
+
- spec/**/*
|
920
|
+
Style/OneLineConditional:
|
921
|
+
Enabled: true
|
922
|
+
Style/OptionHash:
|
923
|
+
Enabled: true
|
924
|
+
SuspiciousParamNames:
|
925
|
+
- options
|
926
|
+
- opts
|
927
|
+
- args
|
928
|
+
- params
|
929
|
+
- parameters
|
930
|
+
Style/OptionalArguments:
|
931
|
+
Enabled: true
|
932
|
+
Style/OrAssignment:
|
933
|
+
Enabled: true
|
934
|
+
Style/ParallelAssignment:
|
935
|
+
Enabled: true
|
936
|
+
Style/ParenthesesAroundCondition:
|
937
|
+
Enabled: true
|
938
|
+
AllowSafeAssignment: true
|
939
|
+
Style/PercentLiteralDelimiters:
|
940
|
+
Enabled: true
|
941
|
+
Style/PercentQLiterals:
|
942
|
+
Enabled: true
|
943
|
+
EnforcedStyle: lower_case_q
|
944
|
+
Style/PerlBackrefs:
|
945
|
+
Enabled: false
|
946
|
+
Style/PreferredHashMethods:
|
947
|
+
Enabled: true
|
948
|
+
EnforcedStyle: short
|
949
|
+
Style/Proc:
|
950
|
+
Enabled: true
|
951
|
+
Style/RaiseArgs:
|
952
|
+
Enabled: true
|
953
|
+
EnforcedStyle: exploded
|
954
|
+
Style/RandomWithOffset:
|
955
|
+
Enabled: true
|
956
|
+
Style/RedundantBegin:
|
957
|
+
Enabled: true
|
958
|
+
Style/RedundantConditional:
|
959
|
+
Enabled: true
|
960
|
+
Style/RedundantException:
|
961
|
+
Enabled: false
|
962
|
+
Style/RedundantFreeze:
|
963
|
+
Enabled: true
|
964
|
+
Style/RedundantParentheses:
|
965
|
+
Enabled: true
|
966
|
+
Style/RedundantReturn:
|
967
|
+
Enabled: true
|
968
|
+
AllowMultipleReturnValues: false
|
969
|
+
Style/RedundantSelf:
|
970
|
+
Enabled: true
|
971
|
+
Style/RegexpLiteral:
|
972
|
+
Enabled: true
|
973
|
+
EnforcedStyle: percent_r
|
974
|
+
AllowInnerSlashes: true
|
975
|
+
Style/RescueModifier:
|
976
|
+
Enabled: true
|
977
|
+
Style/RescueStandardError:
|
978
|
+
Enabled: true
|
979
|
+
EnforcedStyle: explicit
|
980
|
+
Style/ReturnNil:
|
981
|
+
Enabled: true
|
982
|
+
EnforcedStyle: return
|
983
|
+
Style/SafeNavigation:
|
984
|
+
Enabled: true
|
985
|
+
ConvertCodeThatCanStartToReturnNil: true
|
986
|
+
Whitelist:
|
987
|
+
- present?
|
988
|
+
- blank?
|
989
|
+
- presence
|
990
|
+
- try
|
991
|
+
- try!
|
992
|
+
Style/SelfAssignment:
|
993
|
+
Enabled: true
|
994
|
+
Style/Semicolon:
|
995
|
+
Enabled: true
|
996
|
+
AllowAsExpressionSeparator: false
|
997
|
+
Style/Send:
|
998
|
+
Enabled: true
|
999
|
+
Style/SignalException:
|
1000
|
+
Enabled: true
|
1001
|
+
EnforcedStyle: only_raise
|
1002
|
+
Style/SingleLineBlockParams:
|
1003
|
+
Enabled: true
|
1004
|
+
Style/SingleLineMethods:
|
1005
|
+
Enabled: true
|
1006
|
+
AllowIfMethodIsEmpty: true
|
1007
|
+
Style/SpecialGlobalVars:
|
1008
|
+
Enabled: true
|
1009
|
+
EnforcedStyle: use_english_names
|
1010
|
+
Style/StabbyLambdaParentheses:
|
1011
|
+
Enabled: true
|
1012
|
+
EnforcedStyle: require_parentheses
|
1013
|
+
Style/StderrPuts:
|
1014
|
+
Enabled: true
|
1015
|
+
Style/StringHashKeys:
|
1016
|
+
Enabled: true
|
1017
|
+
Style/StringLiterals:
|
1018
|
+
Enabled: true
|
1019
|
+
EnforcedStyle: double_quotes
|
1020
|
+
ConsistentQuotesInMultiline: true
|
1021
|
+
Style/StringLiteralsInInterpolation:
|
1022
|
+
Enabled: true
|
1023
|
+
EnforcedStyle: double_quotes
|
1024
|
+
Style/StringMethods:
|
1025
|
+
Enabled: true
|
1026
|
+
Style/StructInheritance:
|
1027
|
+
Enabled: true
|
1028
|
+
Style/SymbolArray:
|
1029
|
+
Enabled: true
|
1030
|
+
EnforcedStyle: percent
|
1031
|
+
MinSize: 0
|
1032
|
+
Style/SymbolLiteral:
|
1033
|
+
Enabled: true
|
1034
|
+
Style/SymbolProc:
|
1035
|
+
Enabled: true
|
1036
|
+
Style/TernaryParentheses:
|
1037
|
+
Enabled: true
|
1038
|
+
EnforcedStyle: require_parentheses_when_complex
|
1039
|
+
AllowSafeAssignment: true
|
1040
|
+
Style/TrailingBodyOnClass:
|
1041
|
+
Enabled: true
|
1042
|
+
Style/TrailingBodyOnMethodDefinition:
|
1043
|
+
Enabled: true
|
1044
|
+
Style/TrailingBodyOnModule:
|
1045
|
+
Enabled: true
|
1046
|
+
Style/TrailingCommaInArguments:
|
1047
|
+
Enabled: true
|
1048
|
+
EnforcedStyleForMultiline: comma
|
1049
|
+
Style/TrailingCommaInArrayLiteral:
|
1050
|
+
Enabled: true
|
1051
|
+
EnforcedStyleForMultiline: comma
|
1052
|
+
Style/TrailingCommaInHashLiteral:
|
1053
|
+
Enabled: true
|
1054
|
+
EnforcedStyleForMultiline: comma
|
1055
|
+
Style/TrailingMethodEndStatement:
|
1056
|
+
Enabled: true
|
1057
|
+
Style/TrailingUnderscoreVariable:
|
1058
|
+
Enabled: false
|
1059
|
+
Style/TrivialAccessors:
|
1060
|
+
Enabled: true
|
1061
|
+
ExactNameMatch: true
|
1062
|
+
AllowPredicates: true
|
1063
|
+
AllowDSLWriters: false
|
1064
|
+
IgnoreClassMethods: false
|
1065
|
+
Whitelist:
|
1066
|
+
- to_ary
|
1067
|
+
- to_a
|
1068
|
+
- to_c
|
1069
|
+
- to_enum
|
1070
|
+
- to_h
|
1071
|
+
- to_hash
|
1072
|
+
- to_i
|
1073
|
+
- to_int
|
1074
|
+
- to_io
|
1075
|
+
- to_open
|
1076
|
+
- to_path
|
1077
|
+
- to_proc
|
1078
|
+
- to_r
|
1079
|
+
- to_regexp
|
1080
|
+
- to_str
|
1081
|
+
- to_s
|
1082
|
+
- to_sym
|
1083
|
+
Style/UnlessElse:
|
1084
|
+
Enabled: true
|
1085
|
+
Style/UnneededCapitalW:
|
1086
|
+
Enabled: true
|
1087
|
+
Style/UnneededInterpolation:
|
1088
|
+
Enabled: true
|
1089
|
+
Style/UnneededPercentQ:
|
1090
|
+
Enabled: true
|
1091
|
+
Style/UnpackFirst:
|
1092
|
+
Enabled: true
|
1093
|
+
Style/VariableInterpolation:
|
1094
|
+
Enabled: true
|
1095
|
+
Style/WhenThen:
|
1096
|
+
Enabled: true
|
1097
|
+
Style/WhileUntilDo:
|
1098
|
+
Enabled: true
|
1099
|
+
Style/WhileUntilModifier:
|
1100
|
+
Enabled: true
|
1101
|
+
Style/WordArray:
|
1102
|
+
Enabled: true
|
1103
|
+
EnforcedStyle: percent
|
1104
|
+
MinSize: 0
|
1105
|
+
Style/YodaCondition:
|
1106
|
+
Enabled: true
|
1107
|
+
EnforcedStyle: all_comparison_operators
|
1108
|
+
Style/ZeroLengthPredicate:
|
1109
|
+
Enabled: true
|
1110
|
+
|
1111
|
+
Bundler/DuplicatedGem:
|
1112
|
+
Enabled: true
|
1113
|
+
Bundler/InsecureProtocolSource:
|
1114
|
+
Enabled: true
|
1115
|
+
Bundler/OrderedGems:
|
1116
|
+
Enabled: true
|
1117
|
+
TreatCommentsAsGroupSeparators: false
|
1118
|
+
|
1119
|
+
RSpec/AlignRightLetBrace:
|
1120
|
+
Enabled: false
|
1121
|
+
RSpec/AnyInstance:
|
1122
|
+
Enabled: true
|
1123
|
+
RSpec/AroundBlock:
|
1124
|
+
Enabled: true
|
1125
|
+
RSpec/Be:
|
1126
|
+
Enabled: true
|
1127
|
+
RSpec/BeEql:
|
1128
|
+
Enabled: true
|
1129
|
+
RSpec/BeforeAfterAll:
|
1130
|
+
Enabled: true
|
1131
|
+
RSpec/ContextWording:
|
1132
|
+
Enabled: true
|
1133
|
+
RSpec/DescribeClass:
|
1134
|
+
Enabled: true
|
1135
|
+
RSpec/DescribeMethod:
|
1136
|
+
Enabled: false
|
1137
|
+
RSpec/DescribeSymbol:
|
1138
|
+
Enabled: true
|
1139
|
+
RSpec/DescribedClass:
|
1140
|
+
Enabled: true
|
1141
|
+
SkipBlocks: false
|
1142
|
+
EnforcedStyle: described_class
|
1143
|
+
RSpec/EmptyExampleGroup:
|
1144
|
+
Enabled: true
|
1145
|
+
RSpec/EmptyLineAfterFinalLet:
|
1146
|
+
Enabled: true
|
1147
|
+
RSpec/EmptyLineAfterSubject:
|
1148
|
+
Enabled: true
|
1149
|
+
RSpec/ExampleLength:
|
1150
|
+
Enabled: true
|
1151
|
+
Max: 6
|
1152
|
+
RSpec/ExampleWithoutDescription:
|
1153
|
+
Enabled: true
|
1154
|
+
EnforcedStyle: single_line_only
|
1155
|
+
RSpec/ExampleWording:
|
1156
|
+
Enabled: true
|
1157
|
+
RSpec/ExpectActual:
|
1158
|
+
Enabled: true
|
1159
|
+
Exclude:
|
1160
|
+
- spec/routing/**/*
|
1161
|
+
RSpec/ExpectChange:
|
1162
|
+
Enabled: true
|
1163
|
+
EnforcedStyle: block
|
1164
|
+
RSpec/ExpectInHook:
|
1165
|
+
Enabled: true
|
1166
|
+
RSpec/ExpectOutput:
|
1167
|
+
Enabled: true
|
1168
|
+
RSpec/FilePath:
|
1169
|
+
Enabled: true
|
1170
|
+
IgnoreMethods: true
|
1171
|
+
RSpec/Focus:
|
1172
|
+
Enabled: true
|
1173
|
+
RSpec/HookArgument:
|
1174
|
+
Enabled: true
|
1175
|
+
EnforcedStyle: implicit
|
1176
|
+
RSpec/ImplicitExpect:
|
1177
|
+
Enabled: true
|
1178
|
+
EnforcedStyle: is_expected
|
1179
|
+
RSpec/InstanceSpy:
|
1180
|
+
Enabled: true
|
1181
|
+
RSpec/InstanceVariable:
|
1182
|
+
Enabled: true
|
1183
|
+
AssignmentOnly: false
|
1184
|
+
RSpec/InvalidPredicateMatcher:
|
1185
|
+
Enabled: true
|
1186
|
+
RSpec/ItBehavesLike:
|
1187
|
+
Enabled: true
|
1188
|
+
EnforcedStyle: it_behaves_like
|
1189
|
+
RSpec/IteratedExpectation:
|
1190
|
+
Enabled: true
|
1191
|
+
RSpec/LeadingSubject:
|
1192
|
+
Enabled: false
|
1193
|
+
RSpec/LetBeforeExamples:
|
1194
|
+
Enabled: true
|
1195
|
+
RSpec/LetSetup:
|
1196
|
+
Enabled: true
|
1197
|
+
RSpec/MessageChain:
|
1198
|
+
Enabled: false
|
1199
|
+
RSpec/MessageExpectation:
|
1200
|
+
Enabled: false
|
1201
|
+
RSpec/MessageSpies:
|
1202
|
+
Enabled: true
|
1203
|
+
EnforcedStyle: have_received
|
1204
|
+
RSpec/MultipleDescribes:
|
1205
|
+
Enabled: true
|
1206
|
+
RSpec/MultipleExpectations:
|
1207
|
+
Enabled: false
|
1208
|
+
RSpec/MultipleSubjects:
|
1209
|
+
Enabled: true
|
1210
|
+
RSpec/NamedSubject:
|
1211
|
+
Enabled: true
|
1212
|
+
RSpec/NestedGroups:
|
1213
|
+
Enabled: true
|
1214
|
+
Max: 6
|
1215
|
+
RSpec/NotToNot:
|
1216
|
+
Enabled: true
|
1217
|
+
EnforcedStyle: not_to
|
1218
|
+
RSpec/OverwritingSetup:
|
1219
|
+
Enabled: false
|
1220
|
+
RSpec/Pending:
|
1221
|
+
Enabled: false
|
1222
|
+
RSpec/PredicateMatcher:
|
1223
|
+
Enabled: true
|
1224
|
+
Strict: false
|
1225
|
+
EnforcedStyle: inflected
|
1226
|
+
RSpec/RepeatedDescription:
|
1227
|
+
Enabled: true
|
1228
|
+
RSpec/RepeatedExample:
|
1229
|
+
Enabled: true
|
1230
|
+
RSpec/ReturnFromStub:
|
1231
|
+
Enabled: true
|
1232
|
+
EnforcedStyle: and_return
|
1233
|
+
RSpec/ScatteredLet:
|
1234
|
+
Enabled: true
|
1235
|
+
RSpec/ScatteredSetup:
|
1236
|
+
Enabled: true
|
1237
|
+
RSpec/SharedContext:
|
1238
|
+
Enabled: true
|
1239
|
+
RSpec/SharedExamples:
|
1240
|
+
Enabled: true
|
1241
|
+
RSpec/SingleArgumentMessageChain:
|
1242
|
+
Enabled: true
|
1243
|
+
RSpec/SubjectStub:
|
1244
|
+
Enabled: true
|
1245
|
+
RSpec/VerifiedDoubles:
|
1246
|
+
Enabled: true
|
1247
|
+
IgnoreSymbolicNames: false
|
1248
|
+
RSpec/VoidExpect:
|
1249
|
+
Enabled: true
|
1250
|
+
|
1251
|
+
FactoryBot/CreateList:
|
1252
|
+
Enabled: true
|
1253
|
+
EnforcedStyle: create_list
|
1254
|
+
FactoryBot/AttributeDefinedStatically:
|
1255
|
+
Enabled: true
|
1256
|
+
|
1257
|
+
Capybara/CurrentPathExpectation:
|
1258
|
+
Enabled: true
|
1259
|
+
Capybara/FeatureMethods:
|
1260
|
+
Enabled: false
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spicerack-styleguide
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.0.
|
4
|
+
version: 0.6.0.pre5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Allen Rettberg
|
@@ -50,6 +50,7 @@ files:
|
|
50
50
|
- README.md
|
51
51
|
- lib/spicerack/styleguide.rb
|
52
52
|
- lib/spicerack/styleguide/version.rb
|
53
|
+
- rubocop.yml
|
53
54
|
homepage: https://github.com/Freshly/spicerack/tree/master/spicerack-styleguide
|
54
55
|
licenses:
|
55
56
|
- MIT
|