lcgstyle 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,557 @@
1
+ ---
2
+ Lint/AmbiguousOperator:
3
+ Enabled: false
4
+ Lint/AmbiguousRegexpLiteral:
5
+ Enabled: false
6
+ Lint/AssignmentInCondition:
7
+ Enabled: false
8
+ Lint/BlockAlignment:
9
+ Enabled: false
10
+ Lint/CircularArgumentReference:
11
+ Enabled: false
12
+ Lint/ConditionPosition:
13
+ Enabled: false
14
+ Lint/Debugger:
15
+ Enabled: false
16
+ Lint/DefEndAlignment:
17
+ Enabled: false
18
+ Lint/DeprecatedClassMethods:
19
+ Enabled: false
20
+ Lint/DuplicateMethods:
21
+ Enabled: false
22
+ Lint/DuplicatedKey:
23
+ Enabled: false
24
+ Lint/EachWithObjectArgument:
25
+ Enabled: false
26
+ Lint/ElseLayout:
27
+ Enabled: false
28
+ Lint/EmptyEnsure:
29
+ Enabled: false
30
+ Lint/EmptyInterpolation:
31
+ Enabled: false
32
+ Lint/EndAlignment:
33
+ Enabled: false
34
+ Lint/EndInMethod:
35
+ Enabled: false
36
+ Lint/EnsureReturn:
37
+ Enabled: false
38
+ Lint/Eval:
39
+ Enabled: false
40
+ Lint/FloatOutOfRange:
41
+ Enabled: false
42
+ Lint/FormatParameterMismatch:
43
+ Enabled: false
44
+ Lint/HandleExceptions:
45
+ Enabled: false
46
+ Lint/ImplicitStringConcatenation:
47
+ Enabled: false
48
+ Lint/IneffectiveAccessModifier:
49
+ Enabled: false
50
+ Lint/InvalidCharacterLiteral:
51
+ Enabled: false
52
+ Lint/LiteralInCondition:
53
+ Enabled: false
54
+ Lint/LiteralInInterpolation:
55
+ Enabled: false
56
+ Lint/Loop:
57
+ Enabled: false
58
+ Lint/NestedMethodDefinition:
59
+ Enabled: false
60
+ Lint/NextWithoutAccumulator:
61
+ Enabled: false
62
+ Lint/NonLocalExitFromIterator:
63
+ Enabled: false
64
+ Lint/ParenthesesAsGroupedExpression:
65
+ Enabled: false
66
+ Lint/RandOne:
67
+ Enabled: false
68
+ Lint/RequireParentheses:
69
+ Enabled: false
70
+ Lint/RescueException:
71
+ Enabled: false
72
+ Lint/ShadowingOuterLocalVariable:
73
+ Enabled: false
74
+ Lint/StringConversionInInterpolation:
75
+ Enabled: false
76
+ Lint/UnderscorePrefixedVariableName:
77
+ Enabled: false
78
+ Lint/UnneededDisable:
79
+ Enabled: false
80
+ Lint/UnreachableCode:
81
+ Enabled: false
82
+ Lint/UnusedBlockArgument:
83
+ Enabled: false
84
+ Lint/UnusedMethodArgument:
85
+ Enabled: false
86
+ Lint/UselessAccessModifier:
87
+ Enabled: false
88
+ Lint/UselessAssignment:
89
+ Enabled: false
90
+ Lint/UselessComparison:
91
+ Enabled: false
92
+ Lint/UselessElseWithoutRescue:
93
+ Enabled: false
94
+ Lint/UselessSetterCall:
95
+ Enabled: false
96
+ Lint/Void:
97
+ Enabled: false
98
+ Metrics/CyclomaticComplexity:
99
+ Enabled: false
100
+ Metrics/AbcSize:
101
+ Enabled: false
102
+ Metrics/BlockNesting:
103
+ Enabled: false
104
+ Metrics/ClassLength:
105
+ Enabled: false
106
+ Metrics/LineLength:
107
+ Enabled: false
108
+ Metrics/MethodLength:
109
+ Enabled: false
110
+ Metrics/ModuleLength:
111
+ Enabled: false
112
+ Metrics/ParameterLists:
113
+ Enabled: false
114
+ Metrics/PerceivedComplexity:
115
+ Enabled: false
116
+ Performance/CaseWhenSplat:
117
+ Enabled: false
118
+ Performance/Casecmp:
119
+ Enabled: false
120
+ Performance/Count:
121
+ Enabled: false
122
+ Performance/Detect:
123
+ Enabled: false
124
+ Performance/DoubleStartEndWith:
125
+ Enabled: false
126
+ Performance/EndWith:
127
+ Enabled: false
128
+ Performance/FixedSize:
129
+ Enabled: false
130
+ Performance/FlatMap:
131
+ Enabled: false
132
+ Performance/HashEachMethods:
133
+ Enabled: false
134
+ Performance/LstripRstrip:
135
+ Enabled: false
136
+ Performance/RangeInclude:
137
+ Enabled: false
138
+ Performance/RedundantBlockCall:
139
+ Enabled: false
140
+ Performance/RedundantMatch:
141
+ Enabled: false
142
+ Performance/RedundantMerge:
143
+ Enabled: false
144
+ Performance/RedundantSortBy:
145
+ Enabled: false
146
+ Performance/ReverseEach:
147
+ Enabled: false
148
+ Performance/Sample:
149
+ Enabled: false
150
+ Performance/Size:
151
+ Enabled: false
152
+ Performance/StartWith:
153
+ Enabled: false
154
+ Performance/StringReplacement:
155
+ Enabled: false
156
+ Performance/TimesMap:
157
+ Enabled: false
158
+ Style/AccessModifierIndentation:
159
+ Enabled: false
160
+ Style/AccessorMethodName:
161
+ Enabled: false
162
+ Style/Alias:
163
+ Enabled: false
164
+ Style/AlignArray:
165
+ Enabled: false
166
+ Style/AlignHash:
167
+ Enabled: false
168
+ Style/AlignParameters:
169
+ Enabled: false
170
+ Style/AndOr:
171
+ Enabled: false
172
+ Style/ArrayJoin:
173
+ Enabled: false
174
+ Style/AsciiComments:
175
+ Enabled: false
176
+ Style/AsciiIdentifiers:
177
+ Enabled: false
178
+ Style/Attr:
179
+ Enabled: false
180
+ Style/AutoResourceCleanup:
181
+ Enabled: false
182
+ Style/BarePercentLiterals:
183
+ Enabled: false
184
+ Style/BeginBlock:
185
+ Enabled: false
186
+ Style/BlockComments:
187
+ Enabled: false
188
+ Style/BlockDelimiters:
189
+ Enabled: false
190
+ Style/BlockEndNewline:
191
+ Enabled: false
192
+ Style/BracesAroundHashParameters:
193
+ Enabled: false
194
+ Style/CaseEquality:
195
+ Enabled: false
196
+ Style/CaseIndentation:
197
+ Enabled: false
198
+ Style/CharacterLiteral:
199
+ Enabled: false
200
+ Style/ClassAndModuleCamelCase:
201
+ Enabled: false
202
+ Style/ClassAndModuleChildren:
203
+ Enabled: false
204
+ Style/ClassCheck:
205
+ Enabled: false
206
+ Style/ClassMethods:
207
+ Enabled: false
208
+ Style/ClassVars:
209
+ Enabled: false
210
+ Style/ClosingParenthesisIndentation:
211
+ Enabled: false
212
+ Style/CollectionMethods:
213
+ Enabled: false
214
+ Style/ColonMethodCall:
215
+ Enabled: false
216
+ Style/CommandLiteral:
217
+ Enabled: false
218
+ Style/CommentAnnotation:
219
+ Enabled: false
220
+ Style/CommentIndentation:
221
+ Enabled: false
222
+ Style/ConditionalAssignment:
223
+ Enabled: false
224
+ Style/ConstantName:
225
+ Enabled: false
226
+ Style/Copyright:
227
+ Enabled: false
228
+ Style/DefWithParentheses:
229
+ Enabled: false
230
+ Style/DeprecatedHashMethods:
231
+ Enabled: false
232
+ Style/Documentation:
233
+ Enabled: false
234
+ Style/DotPosition:
235
+ Enabled: false
236
+ Style/DoubleNegation:
237
+ Enabled: false
238
+ Style/EachWithObject:
239
+ Enabled: false
240
+ Style/ElseAlignment:
241
+ Enabled: false
242
+ Style/EmptyElse:
243
+ Enabled: false
244
+ Style/EmptyLineBetweenDefs:
245
+ Enabled: false
246
+ Style/EmptyLines:
247
+ Enabled: false
248
+ Style/EmptyLinesAroundAccessModifier:
249
+ Enabled: false
250
+ Style/EmptyLinesAroundBlockBody:
251
+ Enabled: false
252
+ Style/EmptyLinesAroundClassBody:
253
+ Enabled: false
254
+ Style/EmptyLinesAroundMethodBody:
255
+ Enabled: false
256
+ Style/EmptyLinesAroundModuleBody:
257
+ Enabled: false
258
+ Style/EmptyLiteral:
259
+ Enabled: false
260
+ Style/Encoding:
261
+ Enabled: false
262
+ Style/EndBlock:
263
+ Enabled: false
264
+ Style/EndOfLine:
265
+ Enabled: false
266
+ Style/EvenOdd:
267
+ Enabled: false
268
+ Style/ExtraSpacing:
269
+ Enabled: false
270
+ Style/FileName:
271
+ Enabled: false
272
+ Style/FirstArrayElementLineBreak:
273
+ Enabled: false
274
+ Style/FirstHashElementLineBreak:
275
+ Enabled: false
276
+ Style/FirstMethodArgumentLineBreak:
277
+ Enabled: false
278
+ Style/FirstMethodParameterLineBreak:
279
+ Enabled: false
280
+ Style/FirstParameterIndentation:
281
+ Enabled: false
282
+ Style/FlipFlop:
283
+ Enabled: false
284
+ Style/For:
285
+ Enabled: false
286
+ Style/FormatString:
287
+ Enabled: false
288
+ Style/FrozenStringLiteralComment:
289
+ Enabled: false
290
+ Style/GlobalVars:
291
+ Enabled: false
292
+ Style/GuardClause:
293
+ Enabled: false
294
+ Style/HashSyntax:
295
+ Enabled: false
296
+ Style/IdenticalConditionalBranches:
297
+ Enabled: false
298
+ Style/IfInsideElse:
299
+ Enabled: false
300
+ Style/IfUnlessModifier:
301
+ Enabled: false
302
+ Style/IfUnlessModifierOfIfUnless:
303
+ Enabled: false
304
+ Style/IfWithSemicolon:
305
+ Enabled: false
306
+ Style/IndentArray:
307
+ Enabled: false
308
+ Style/IndentAssignment:
309
+ Enabled: false
310
+ Style/IndentHash:
311
+ Enabled: false
312
+ Style/IndentationConsistency:
313
+ Enabled: false
314
+ Style/IndentationWidth:
315
+ Enabled: false
316
+ Style/InfiniteLoop:
317
+ Enabled: false
318
+ Style/InitialIndentation:
319
+ Enabled: false
320
+ Style/InlineComment:
321
+ Enabled: false
322
+ Style/Lambda:
323
+ Enabled: false
324
+ Style/LambdaCall:
325
+ Enabled: false
326
+ Style/LeadingCommentSpace:
327
+ Enabled: false
328
+ Style/LineEndConcatenation:
329
+ Enabled: false
330
+ Style/MethodCallParentheses:
331
+ Enabled: false
332
+ Style/MethodCalledOnDoEndBlock:
333
+ Enabled: false
334
+ Style/MethodDefParentheses:
335
+ Enabled: false
336
+ Style/MethodName:
337
+ Enabled: false
338
+ Style/MissingElse:
339
+ Enabled: false
340
+ Style/ModuleFunction:
341
+ Enabled: false
342
+ Style/MultilineArrayBraceLayout:
343
+ Enabled: false
344
+ Style/MultilineAssignmentLayout:
345
+ Enabled: false
346
+ Style/MultilineBlockChain:
347
+ Enabled: false
348
+ Style/MultilineBlockLayout:
349
+ Enabled: false
350
+ Style/MultilineHashBraceLayout:
351
+ Enabled: false
352
+ Style/MultilineIfThen:
353
+ Enabled: false
354
+ Style/MultilineMethodCallBraceLayout:
355
+ Enabled: false
356
+ Style/MultilineMethodCallIndentation:
357
+ Enabled: false
358
+ Style/MultilineMethodDefinitionBraceLayout:
359
+ Enabled: false
360
+ Style/MultilineOperationIndentation:
361
+ Enabled: false
362
+ Style/MultilineTernaryOperator:
363
+ Enabled: false
364
+ Style/MutableConstant:
365
+ Enabled: false
366
+ Style/NegatedIf:
367
+ Enabled: false
368
+ Style/NegatedWhile:
369
+ Enabled: false
370
+ Style/NestedModifier:
371
+ Enabled: false
372
+ Style/NestedParenthesizedCalls:
373
+ Enabled: false
374
+ Style/NestedTernaryOperator:
375
+ Enabled: false
376
+ Style/Next:
377
+ Enabled: false
378
+ Style/NilComparison:
379
+ Enabled: false
380
+ Style/NonNilCheck:
381
+ Enabled: false
382
+ Style/Not:
383
+ Enabled: false
384
+ Style/NumericLiterals:
385
+ Enabled: false
386
+ Style/OneLineConditional:
387
+ Enabled: false
388
+ Style/OpMethod:
389
+ Enabled: false
390
+ Style/OptionHash:
391
+ Enabled: false
392
+ Style/OptionalArguments:
393
+ Enabled: false
394
+ Style/ParallelAssignment:
395
+ Enabled: false
396
+ Style/ParenthesesAroundCondition:
397
+ Enabled: false
398
+ Style/PercentLiteralDelimiters:
399
+ Enabled: false
400
+ Style/PercentQLiterals:
401
+ Enabled: false
402
+ Style/PerlBackrefs:
403
+ Enabled: false
404
+ Style/PredicateName:
405
+ Enabled: false
406
+ Style/Proc:
407
+ Enabled: false
408
+ Style/RaiseArgs:
409
+ Enabled: false
410
+ Style/RedundantBegin:
411
+ Enabled: false
412
+ Style/RedundantException:
413
+ Enabled: false
414
+ Style/RedundantFreeze:
415
+ Enabled: false
416
+ Style/RedundantParentheses:
417
+ Enabled: false
418
+ Style/RedundantReturn:
419
+ Enabled: false
420
+ Style/RedundantSelf:
421
+ Enabled: false
422
+ Style/RegexpLiteral:
423
+ Enabled: false
424
+ Style/RescueEnsureAlignment:
425
+ Enabled: false
426
+ Style/RescueModifier:
427
+ Enabled: false
428
+ Style/SelfAssignment:
429
+ Enabled: false
430
+ Style/Semicolon:
431
+ Enabled: false
432
+ Style/Send:
433
+ Enabled: false
434
+ Style/SignalException:
435
+ Enabled: false
436
+ Style/SingleLineBlockParams:
437
+ Enabled: false
438
+ Style/SingleLineMethods:
439
+ Enabled: false
440
+ Style/SpaceAfterColon:
441
+ Enabled: false
442
+ Style/SpaceAfterComma:
443
+ Enabled: false
444
+ Style/SpaceAfterMethodName:
445
+ Enabled: false
446
+ Style/SpaceAfterNot:
447
+ Enabled: false
448
+ Style/SpaceAfterSemicolon:
449
+ Enabled: false
450
+ Style/SpaceAroundBlockParameters:
451
+ Enabled: false
452
+ Style/SpaceAroundEqualsInParameterDefault:
453
+ Enabled: false
454
+ Style/SpaceAroundKeyword:
455
+ Enabled: false
456
+ Style/SpaceAroundOperators:
457
+ Enabled: false
458
+ Style/SpaceBeforeBlockBraces:
459
+ Enabled: false
460
+ Style/SpaceBeforeComma:
461
+ Enabled: false
462
+ Style/SpaceBeforeComment:
463
+ Enabled: false
464
+ Style/SpaceBeforeFirstArg:
465
+ Enabled: false
466
+ Style/SpaceBeforeSemicolon:
467
+ Enabled: false
468
+ Style/SpaceInsideBlockBraces:
469
+ Enabled: false
470
+ Style/SpaceInsideBrackets:
471
+ Enabled: false
472
+ Style/SpaceInsideHashLiteralBraces:
473
+ Enabled: false
474
+ Style/SpaceInsideParens:
475
+ Enabled: false
476
+ Style/SpaceInsideRangeLiteral:
477
+ Enabled: false
478
+ Style/SpaceInsideStringInterpolation:
479
+ Enabled: false
480
+ Style/SpecialGlobalVars:
481
+ Enabled: false
482
+ Style/StabbyLambdaParentheses:
483
+ Enabled: false
484
+ Style/StringLiterals:
485
+ Enabled: false
486
+ Style/StringLiteralsInInterpolation:
487
+ Enabled: false
488
+ Style/StringMethods:
489
+ Enabled: false
490
+ Style/StructInheritance:
491
+ Enabled: false
492
+ Style/SymbolArray:
493
+ Enabled: false
494
+ Style/SymbolLiteral:
495
+ Enabled: false
496
+ Style/SymbolProc:
497
+ Enabled: false
498
+ Style/Tab:
499
+ Enabled: false
500
+ Style/TrailingBlankLines:
501
+ Enabled: false
502
+ Style/TrailingCommaInArguments:
503
+ Enabled: false
504
+ Style/TrailingCommaInLiteral:
505
+ Enabled: false
506
+ Style/TrailingUnderscoreVariable:
507
+ Enabled: false
508
+ Style/TrailingWhitespace:
509
+ Enabled: false
510
+ Style/TrivialAccessors:
511
+ Enabled: false
512
+ Style/UnlessElse:
513
+ Enabled: false
514
+ Style/UnneededCapitalW:
515
+ Enabled: false
516
+ Style/UnneededInterpolation:
517
+ Enabled: false
518
+ Style/UnneededPercentQ:
519
+ Enabled: false
520
+ Style/VariableInterpolation:
521
+ Enabled: false
522
+ Style/VariableName:
523
+ Enabled: false
524
+ Style/WhenThen:
525
+ Enabled: false
526
+ Style/WhileUntilDo:
527
+ Enabled: false
528
+ Style/WhileUntilModifier:
529
+ Enabled: false
530
+ Style/WordArray:
531
+ Enabled: false
532
+ Style/ZeroLengthPredicate:
533
+ Enabled: false
534
+ Rails/ActionFilter:
535
+ Enabled: false
536
+ Rails/Date:
537
+ Enabled: false
538
+ Rails/Delegate:
539
+ Enabled: false
540
+ Rails/FindBy:
541
+ Enabled: false
542
+ Rails/FindEach:
543
+ Enabled: false
544
+ Rails/HasAndBelongsToMany:
545
+ Enabled: false
546
+ Rails/Output:
547
+ Enabled: false
548
+ Rails/PluralizationGrammar:
549
+ Enabled: false
550
+ Rails/ReadWriteAttribute:
551
+ Enabled: false
552
+ Rails/ScopeArgs:
553
+ Enabled: false
554
+ Rails/TimeZone:
555
+ Enabled: false
556
+ Rails/Validation:
557
+ Enabled: false
@@ -0,0 +1,125 @@
1
+ # These are all the cops that are disabled in the default configuration.
2
+
3
+ # By default, the rails cops are not run. Override in project or home
4
+ # directory .rubocop.yml files, or by giving the -R/--rails option.
5
+ Rails:
6
+ Enabled: false
7
+
8
+ Style/AutoResourceCleanup:
9
+ Description: 'Suggests the usage of an auto resource cleanup version of a method (if available).'
10
+ Enabled: false
11
+
12
+ Style/CollectionMethods:
13
+ Description: 'Preferred collection methods.'
14
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#map-find-select-reduce-size'
15
+ Enabled: false
16
+
17
+ Style/Copyright:
18
+ Description: 'Include a copyright notice in each file before any code.'
19
+ Enabled: false
20
+
21
+ Style/Encoding:
22
+ Description: 'Use UTF-8 as the source file encoding.'
23
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#utf-8'
24
+ Enabled: false
25
+
26
+ Style/FirstArrayElementLineBreak:
27
+ Description: >-
28
+ Checks for a line break before the first element in a
29
+ multi-line array.
30
+ Enabled: false
31
+
32
+ Style/FirstHashElementLineBreak:
33
+ Description: >-
34
+ Checks for a line break before the first element in a
35
+ multi-line hash.
36
+ Enabled: false
37
+
38
+ Style/FirstMethodArgumentLineBreak:
39
+ Description: >-
40
+ Checks for a line break before the first argument in a
41
+ multi-line method call.
42
+ Enabled: false
43
+
44
+ Style/FirstMethodParameterLineBreak:
45
+ Description: >-
46
+ Checks for a line break before the first parameter in a
47
+ multi-line method parameter definition.
48
+ Enabled: false
49
+
50
+ Style/InlineComment:
51
+ Description: 'Avoid inline comments.'
52
+ Enabled: false
53
+
54
+ Style/MethodCalledOnDoEndBlock:
55
+ Description: 'Avoid chaining a method call on a do...end block.'
56
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#single-line-blocks'
57
+ Enabled: false
58
+
59
+ Style/MissingElse:
60
+ Description: >-
61
+ Require if/case expressions to have an else branches.
62
+ If enabled, it is recommended that
63
+ Style/UnlessElse and Style/EmptyElse be enabled.
64
+ This will conflict with Style/EmptyElse if
65
+ Style/EmptyElse is configured to style "both"
66
+ Enabled: false
67
+ EnforcedStyle: both
68
+ SupportedStyles:
69
+ # if - warn when an if expression is missing an else branch
70
+ # case - warn when a case expression is missing an else branch
71
+ # both - warn when an if or case expression is missing an else branch
72
+ - if
73
+ - case
74
+ - both
75
+
76
+ Style/MultilineArrayBraceLayout:
77
+ Description: >-
78
+ Checks that the closing brace in an array literal is
79
+ symmetrical with respect to the opening brace and the
80
+ array elements.
81
+ Enabled: false
82
+
83
+ Style/MultilineAssignmentLayout:
84
+ Description: 'Check for a newline after the assignment operator in multi-line assignments.'
85
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#indent-conditional-assignment'
86
+ Enabled: false
87
+
88
+ Style/MultilineHashBraceLayout:
89
+ Description: >-
90
+ Checks that the closing brace in a hash literal is
91
+ symmetrical with respect to the opening brace and the
92
+ hash elements.
93
+ Enabled: false
94
+
95
+ Style/MultilineMethodCallBraceLayout:
96
+ Description: >-
97
+ Checks that the closing brace in a method call is
98
+ symmetrical with respect to the opening brace and the
99
+ method arguments.
100
+ Enabled: false
101
+
102
+ Style/MultilineMethodDefinitionBraceLayout:
103
+ Description: >-
104
+ Checks that the closing brace in a method definition is
105
+ symmetrical with respect to the opening brace and the
106
+ method parameters.
107
+ Enabled: false
108
+
109
+ Style/OptionHash:
110
+ Description: "Don't use option hashes when you can use keyword arguments."
111
+ Enabled: false
112
+
113
+ Style/Send:
114
+ Description: 'Prefer `Object#__send__` or `Object#public_send` to `send`, as `send` may overlap with existing methods.'
115
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#prefer-public-send'
116
+ Enabled: false
117
+
118
+ Style/StringMethods:
119
+ Description: 'Checks if configured preferred methods are used over non-preferred.'
120
+ Enabled: false
121
+
122
+ Style/SymbolArray:
123
+ Description: 'Use %i or %I for arrays of symbols.'
124
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#percent-i'
125
+ Enabled: false