wetransfer_style 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/ruby/default.yml +475 -32
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e60e371671cadee903ab33e9977bf9022b143fe9
4
- data.tar.gz: bde051cbf4cccae10f97c528a327a98c3364a053
3
+ metadata.gz: 244b2566227e559d0c957241c8fb068be6e3bc21
4
+ data.tar.gz: 57165df937e45af94974e15abf34add4813ff3a1
5
5
  SHA512:
6
- metadata.gz: b97b89f5f198edf6ad615747f79d2f7e5ccf305ab65d4902e02f519d746dea6acb7f95dc6cf69dfe1e303e04bbf949dd58a30851a91e1eaecf01f692e4c056b9
7
- data.tar.gz: 7ce578699dddfbdbb7d595e2f5c33ab2a28be1a224d69a5b2b4b2616708b057f3aa928eaaea533977ec9ca658e26047d83764c1fe4c08121f5f86671acbc35c6
6
+ metadata.gz: c57e42999b000de3c3991ab02fb1c2c2b2cef0925fbc75c406e3612c74883b929ccf27bb78a23da87feeba815743c5371b6fb35c7918ca4e510455334add4891
7
+ data.tar.gz: 38404fcb79e45235649b6b4d84411d04612feb3ed6821633a71016ab90533aa9d3f09edb0c8393366748d61fccb6d63ec59c27e36a9fc865939d022165a3dd28
data/ruby/default.yml CHANGED
@@ -1,42 +1,485 @@
1
- # Only allow our set of cops
1
+ # Only allow our set of cops. We follow the whitelist approach, hence we only
2
+ # specify what we *need*
2
3
  AllCops:
3
4
  DisabledByDefault: true
4
5
  TargetRubyVersion: 2.3
5
6
 
6
- # Lint & Metrics will be enabled at the next iteration
7
- Layout:
8
- Enabled: true
9
- Naming:
10
- Enabled: true
11
- Style:
12
- Enabled: true
7
+ Layout/AccessModifierIndentation:
8
+ Enabled: True
9
+ Layout/AlignArray:
10
+ Enabled: True
11
+ Layout/AlignHash:
12
+ Enabled: True
13
+ Layout/AlignParameters:
14
+ Enabled: True
15
+ Layout/BlockEndNewline:
16
+ Enabled: True
17
+ Layout/CaseIndentation:
18
+ Enabled: True
19
+ Layout/ClosingParenthesisIndentation:
20
+ Enabled: True
21
+ Layout/CommentIndentation:
22
+ Enabled: True
23
+ Layout/ElseAlignment:
24
+ Enabled: True
25
+ Layout/EmptyLineAfterMagicComment:
26
+ Enabled: True
27
+ Layout/EmptyLineBetweenDefs:
28
+ Enabled: True
29
+ Layout/EmptyLines:
30
+ Enabled: True
31
+ Layout/EmptyLinesAroundAccessModifier:
32
+ Enabled: True
33
+ Layout/EmptyLinesAroundArguments:
34
+ Enabled: True
35
+ Layout/EmptyLinesAroundBeginBody:
36
+ Enabled: True
37
+ Layout/EmptyLinesAroundBlockBody:
38
+ Enabled: True
39
+ Layout/EmptyLinesAroundClassBody:
40
+ Enabled: True
41
+ Layout/EmptyLinesAroundExceptionHandlingKeywords:
42
+ Enabled: True
43
+ Layout/EmptyLinesAroundMethodBody:
44
+ Enabled: True
45
+ Layout/EndOfLine:
46
+ Enabled: True
47
+ Layout/FirstArrayElementLineBreak:
48
+ Enabled: True
49
+ Layout/FirstHashElementLineBreak:
50
+ Enabled: True
51
+ Layout/FirstMethodArgumentLineBreak:
52
+ Enabled: True
53
+ Layout/FirstMethodParameterLineBreak:
54
+ Enabled: True
55
+ Layout/FirstParameterIndentation:
56
+ Enabled: True
57
+ Layout/IndentArray:
58
+ Enabled: True
59
+ EnforcedStyle: consistent
60
+ Layout/IndentAssignment:
61
+ Enabled: True
62
+ Layout/IndentHash:
63
+ Enabled: True
64
+ EnforcedStyle: consistent
65
+ Layout/IndentHeredoc:
66
+ Enabled: True
67
+ Layout/IndentationConsistency:
68
+ Enabled: True
69
+ Layout/IndentationWidth:
70
+ Enabled: True
71
+ Layout/InitialIndentation:
72
+ Enabled: True
73
+ Layout/LeadingCommentSpace:
74
+ Enabled: True
75
+ Layout/MultilineArrayBraceLayout:
76
+ Enabled: True
77
+ Layout/MultilineBlockLayout:
78
+ Enabled: True
79
+ Layout/MultilineHashBraceLayout:
80
+ Enabled: True
81
+ Layout/MultilineOperationIndentation:
82
+ Enabled: True
83
+ Layout/RescueEnsureAlignment:
84
+ Enabled: True
85
+ Layout/SpaceAfterColon:
86
+ Enabled: True
87
+ Layout/SpaceAfterComma:
88
+ Enabled: True
89
+ Layout/SpaceAfterMethodName:
90
+ Enabled: True
91
+ Layout/SpaceAfterNot:
92
+ Enabled: True
93
+ Layout/SpaceAfterSemicolon:
94
+ Enabled: True
95
+ Layout/SpaceAroundBlockParameters:
96
+ Enabled: True
97
+ Layout/SpaceAroundEqualsInParameterDefault:
98
+ Enabled: True
99
+ Layout/SpaceAroundKeyword:
100
+ Enabled: True
101
+ Layout/SpaceAroundOperators:
102
+ Enabled: True
103
+ Layout/SpaceBeforeBlockBraces:
104
+ Enabled: True
105
+ Layout/SpaceBeforeComma:
106
+ Enabled: True
107
+ Layout/SpaceBeforeComment:
108
+ Enabled: True
109
+ Layout/SpaceBeforeFirstArg:
110
+ Enabled: True
111
+ Layout/SpaceBeforeSemicolon:
112
+ Enabled: True
113
+ Layout/SpaceInLambdaLiteral:
114
+ Enabled: True
115
+ Layout/SpaceInsideArrayLiteralBrackets:
116
+ Enabled: True
117
+ Layout/SpaceInsideArrayPercentLiteral:
118
+ Enabled: True
119
+ Layout/SpaceInsideBlockBraces:
120
+ Enabled: True
121
+ Layout/SpaceInsideParens:
122
+ Enabled: True
123
+ Layout/SpaceInsidePercentLiteralDelimiters:
124
+ Enabled: True
125
+ Layout/SpaceInsideRangeLiteral:
126
+ Enabled: True
127
+ Layout/SpaceInsideReferenceBrackets:
128
+ Enabled: True
129
+ Layout/SpaceInsideStringInterpolation:
130
+ Enabled: True
131
+ Layout/Tab:
132
+ Enabled: True
133
+ Layout/TrailingBlankLines:
134
+ Enabled: True
135
+ Layout/TrailingWhitespace:
136
+ Enabled: True
13
137
 
14
- Layout/SpaceInsideHashLiteralBraces:
15
- Enabled: false
138
+ Lint/AmbiguousBlockAssociation:
139
+ Enabled: True
140
+ Lint/AmbiguousOperator:
141
+ Enabled: True
142
+ Lint/AmbiguousRegexpLiteral:
143
+ Enabled: True
144
+ Lint/BooleanSymbol:
145
+ Enabled: True
146
+ Lint/CircularArgumentReference:
147
+ Enabled: True
148
+ Lint/Debugger:
149
+ Enabled: True
150
+ Lint/DeprecatedClassMethods:
151
+ Enabled: True
152
+ Lint/DuplicateCaseCondition:
153
+ Enabled: True
154
+ Lint/DuplicateMethods:
155
+ Enabled: True
156
+ Lint/DuplicatedKey:
157
+ Enabled: True
158
+ Lint/EachWithObjectArgument:
159
+ Enabled: True
160
+ Lint/ElseLayout:
161
+ Enabled: True
162
+ Lint/EmptyEnsure:
163
+ Enabled: True
164
+ Lint/EmptyExpression:
165
+ Enabled: True
166
+ Lint/EmptyInterpolation:
167
+ Enabled: True
168
+ Lint/EmptyWhen:
169
+ Enabled: True
170
+ Lint/EndAlignment:
171
+ EnforcedStyleAlignWith: start_of_line
172
+ Lint/EndInMethod:
173
+ Enabled: True
174
+ Lint/EnsureReturn:
175
+ Enabled: True
176
+ Lint/FloatOutOfRange:
177
+ Enabled: True
178
+ Lint/FormatParameterMismatch:
179
+ Enabled: True
180
+ Lint/ImplicitStringConcatenation:
181
+ Enabled: True
182
+ Lint/IneffectiveAccessModifier:
183
+ Enabled: True
184
+ Lint/InheritException:
185
+ Enabled: True
186
+ EnforcedStyle: standard_error
187
+ Lint/InterpolationCheck:
188
+ Enabled: True
189
+ Lint/LiteralAsCondition:
190
+ Enabled: True
191
+ Lint/LiteralInInterpolation:
192
+ Enabled: True
193
+ Lint/Loop:
194
+ Enabled: True
195
+ Lint/MultipleCompare:
196
+ Enabled: True
197
+ Lint/NestedMethodDefinition:
198
+ Enabled: True
199
+ Lint/NestedPercentLiteral:
200
+ Enabled: True
201
+ Lint/NextWithoutAccumulator:
202
+ Enabled: True
203
+ Lint/NonLocalExitFromIterator:
204
+ Enabled: True
205
+ Lint/ParenthesesAsGroupedExpression:
206
+ Enabled: True
207
+ Lint/PercentStringArray:
208
+ Enabled: True
209
+ Lint/PercentSymbolArray:
210
+ Enabled: True
211
+ Lint/RandOne:
212
+ Enabled: True
213
+ Lint/RedundantWithIndex:
214
+ Enabled: True
215
+ Lint/RedundantWithObject:
216
+ Enabled: True
217
+ Lint/RegexpAsCondition:
218
+ Enabled: True
219
+ Lint/RequireParentheses:
220
+ Enabled: True
221
+ Lint/RescueException:
222
+ Enabled: True
223
+ Lint/RescueType:
224
+ Enabled: True
225
+ Lint/ReturnInVoidContext:
226
+ Enabled: True
227
+ Lint/ScriptPermission:
228
+ Enabled: True
229
+ Lint/ShadowedArgument:
230
+ Enabled: True
231
+ Lint/ShadowedException:
232
+ Enabled: True
233
+ Lint/StringConversionInInterpolation:
234
+ Enabled: True
235
+ Lint/Syntax:
236
+ Enabled: True
237
+ Lint/UnderscorePrefixedVariableName:
238
+ Enabled: True
239
+ Lint/UnifiedInteger:
240
+ Enabled: True
241
+ Lint/UnneededRequireStatement:
242
+ Enabled: True
243
+ Lint/UnneededSplatExpansion:
244
+ Enabled: True
245
+ Lint/UnreachableCode:
246
+ Enabled: True
247
+ Lint/UnusedBlockArgument:
248
+ Enabled: True
249
+ Lint/UnusedMethodArgument:
250
+ Enabled: True
251
+ Lint/UriEscapeUnescape:
252
+ Enabled: True
253
+ Lint/UriRegexp:
254
+ Enabled: True
255
+ Lint/UselessAccessModifier:
256
+ Enabled: True
257
+ Lint/UselessAssignment:
258
+ Enabled: True
259
+ Lint/UselessComparison:
260
+ Enabled: True
261
+ Lint/UselessElseWithoutRescue:
262
+ Enabled: True
263
+ Lint/UselessSetterCall:
264
+ Enabled: True
265
+ Lint/Void:
266
+ Enabled: True
267
+
268
+ Naming/AccessorMethodName:
269
+ Enabled: True
270
+ Naming/BinaryOperatorParameterName:
271
+ Enabled: True
272
+ Naming/ClassAndModuleCamelCase:
273
+ Enabled: True
274
+ Naming/ConstantName:
275
+ Enabled: True
276
+ Naming/FileName:
277
+ Enabled: True
278
+ Naming/HeredocDelimiterCase:
279
+ Enabled: True
280
+ Naming/HeredocDelimiterNaming:
281
+ Enabled: True
282
+ Naming/MethodName:
283
+ Enabled: True
284
+ Naming/PredicateName:
285
+ Enabled: True
286
+ Naming/VariableName:
287
+ Enabled: True
16
288
 
17
289
  Style/Alias:
18
290
  EnforcedStyle: prefer_alias_method
19
- Style/AsciiComments:
20
- Enabled: false
21
- Style/ClassAndModuleChildren:
22
- Enabled: false
23
- Style/Documentation:
24
- Enabled: false
25
- Style/DoubleNegation:
26
- Enabled: false
27
- Style/FrozenStringLiteralComment:
28
- Enabled: false
29
- Style/FormatStringToken:
30
- Enabled: false
31
- Style/MultilineBlockChain:
32
- Enabled: false
291
+ Enabled: True
292
+ Style/ArrayJoin:
293
+ Enabled: True
294
+ Style/BeginBlock:
295
+ Enabled: True
296
+ Style/BlockComments:
297
+ Enabled: True
298
+ Style/BracesAroundHashParameters:
299
+ Enabled: True
300
+ EnforcedStyle: context_dependent
301
+ Style/CaseEquality:
302
+ Enabled: True
303
+ Style/CharacterLiteral:
304
+ Enabled: True
305
+ Style/ClassMethods:
306
+ Enabled: True
307
+ Style/ColonMethodCall:
308
+ Enabled: True
309
+ Style/ColonMethodDefinition:
310
+ Enabled: True
311
+ Style/CommentAnnotation:
312
+ Enabled: True
313
+ Style/ConditionalAssignment:
314
+ Enabled: True
315
+ Style/DefWithParentheses:
316
+ Enabled: True
317
+ Style/Dir:
318
+ Enabled: True
319
+ Style/EachForSimpleLoop:
320
+ Enabled: True
321
+ Style/EachWithObject:
322
+ Enabled: True
323
+ Style/EmptyBlockParameter:
324
+ Enabled: True
325
+ Style/EmptyCaseCondition:
326
+ Enabled: True
327
+ Style/EmptyElse:
328
+ Enabled: True
329
+ Style/EmptyLambdaParameter:
330
+ Enabled: True
331
+ Style/EmptyLiteral:
332
+ Enabled: True
333
+ Style/Encoding:
334
+ Enabled: True
335
+ Style/EndBlock:
336
+ Enabled: True
337
+ Style/EvenOdd:
338
+ Enabled: True
339
+ Style/FlipFlop:
340
+ Enabled: True
341
+ Style/For:
342
+ Enabled: True
343
+ Style/GlobalVars:
344
+ Enabled: True
345
+ Style/GuardClause:
346
+ Enabled: True
347
+ Style/HashSyntax:
348
+ Enabled: True
349
+ Style/IdenticalConditionalBranches:
350
+ Enabled: True
351
+ Style/IfInsideElse:
352
+ Enabled: True
353
+ Style/IfUnlessModifier:
354
+ Enabled: True
355
+ Style/IfUnlessModifierOfIfUnless:
356
+ Enabled: True
357
+ Style/IfWithSemicolon:
358
+ Enabled: True
359
+ Style/InfiniteLoop:
360
+ Enabled: True
361
+ Style/InverseMethods:
362
+ Enabled: True
363
+ Style/LambdaCall:
364
+ Enabled: True
365
+ Style/LineEndConcatenation:
366
+ Enabled: True
367
+ Style/MethodCallWithoutArgsParentheses:
368
+ Enabled: True
369
+ Style/MethodDefParentheses:
370
+ Enabled: True
371
+ Style/MethodMissing:
372
+ Enabled: True
373
+ Style/MinMax:
374
+ Enabled: True
375
+ Style/MixinGrouping:
376
+ Enabled: True
377
+ Style/MixinUsage:
378
+ Enabled: True
379
+ Style/MultilineIfThen:
380
+ Enabled: True
381
+ Style/MultilineMemoization:
382
+ Enabled: True
383
+ Style/MultilineTernaryOperator:
384
+ Enabled: True
385
+ Style/MultipleComparison:
386
+ Enabled: True
387
+ Style/NegatedIf:
388
+ Enabled: True
389
+ Style/NegatedWhile:
390
+ Enabled: True
391
+ Style/NestedModifier:
392
+ Enabled: True
393
+ Style/NestedParenthesizedCalls:
394
+ Enabled: True
395
+ Style/NestedTernaryOperator:
396
+ Enabled: True
397
+ Style/Next:
398
+ Enabled: True
399
+ Style/NilComparison:
400
+ Enabled: True
401
+ Style/NonNilCheck:
402
+ Enabled: True
403
+ Style/Not:
404
+ Enabled: True
405
+ Style/NumericPredicate:
406
+ Enabled: True
407
+ Style/OneLineConditional:
408
+ Enabled: True
409
+ Style/OptionHash:
410
+ Enabled: True
411
+ Style/OptionalArguments:
412
+ Enabled: True
413
+ Style/OrAssignment:
414
+ Enabled: True
415
+ Style/ParallelAssignment:
416
+ Enabled: True
417
+ Style/ParenthesesAroundCondition:
418
+ Enabled: True
419
+ Style/PercentQLiterals:
420
+ Enabled: True
421
+ Style/RaiseArgs:
422
+ Enabled: True
423
+ Style/RandomWithOffset:
424
+ Enabled: True
425
+ Style/RedundantBegin:
426
+ Enabled: True
427
+ Style/RedundantConditional:
428
+ Enabled: True
429
+ Style/RedundantException:
430
+ Enabled: True
431
+ Style/RedundantFreeze:
432
+ Enabled: True
433
+ Style/RedundantParentheses:
434
+ Enabled: True
435
+ Style/RedundantReturn:
436
+ Enabled: True
437
+ Style/RedundantSelf:
438
+ Enabled: True
33
439
  Style/RescueStandardError:
440
+ Enabled: True
34
441
  EnforcedStyle: implicit
35
- Style/StructInheritance:
36
- Enabled: false
37
- Style/SymbolArray:
38
- Enabled: false
39
- Style/TrailingCommaInLiteral:
40
- Enabled: false
41
- Style/ZeroLengthPredicate:
42
- Enabled: false
442
+ Style/ReturnNil:
443
+ Enabled: True
444
+ Style/SelfAssignment:
445
+ Enabled: True
446
+ Style/Semicolon:
447
+ Enabled: True
448
+ Style/SingleLineMethods:
449
+ Enabled: True
450
+ Style/StabbyLambdaParentheses:
451
+ Enabled: True
452
+ Style/StderrPuts:
453
+ Enabled: True
454
+ Style/StringLiterals:
455
+ Enabled: True
456
+ Style/StringLiteralsInInterpolation:
457
+ Enabled: True
458
+ Style/StringMethods:
459
+ Enabled: True
460
+ Style/SymbolLiteral:
461
+ Enabled: True
462
+ Style/SymbolProc:
463
+ Enabled: True
464
+ Style/TernaryParentheses:
465
+ Enabled: True
466
+ Style/TrailingBodyOnMethodDefinition:
467
+ Enabled: True
468
+ Style/TrailingMethodEndStatement:
469
+ Enabled: True
470
+ Style/UnneededCapitalW:
471
+ Enabled: True
472
+ Style/UnneededInterpolation:
473
+ Enabled: True
474
+ Style/UnneededPercentQ:
475
+ Enabled: True
476
+ Style/VariableInterpolation:
477
+ Enabled: True
478
+ Style/WhenThen:
479
+ Enabled: True
480
+ Style/WhileUntilDo:
481
+ Enabled: True
482
+ Style/WhileUntilModifier:
483
+ Enabled: True
484
+ Style/YodaCondition:
485
+ Enabled: True
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wetransfer_style
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrei Horak
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-18 00:00:00.000000000 Z
11
+ date: 2018-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop