1 # This configuration was generated by `rubocop --auto-gen-config`
2 # on 2015-02-16 18:44:13 +0000 using RuboCop version 0.29.1.
3 # The point is for the user to remove these configuration records
4 # one by one as the offenses are removed from the code base.
5 # Note that changes in the inspected code, or installation of new
6 # versions of RuboCop, may require this file to be generated again.
9 Lint/AmbiguousOperator:
13 Lint/AmbiguousRegexpLiteral:
17 # Configuration parameters: AllowSafeAssignment.
18 Lint/AssignmentInCondition:
22 # Cop supports --auto-correct.
27 # Configuration parameters: AlignWith, SupportedStyles.
32 # Cop supports --auto-correct.
33 Lint/DeprecatedClassMethods:
37 Lint/DuplicateMethods:
41 # Configuration parameters: AlignWith, SupportedStyles.
46 Lint/HandleExceptions:
50 Lint/LiteralInCondition:
54 Lint/ParenthesesAsGroupedExpression:
62 Lint/ShadowingOuterLocalVariable:
66 # Cop supports --auto-correct.
67 Lint/SpaceBeforeFirstArg:
71 # Cop supports --auto-correct.
72 Lint/StringConversionInInterpolation:
76 # Cop supports --auto-correct.
77 Lint/UnusedBlockArgument:
81 # Cop supports --auto-correct.
82 Lint/UnusedMethodArgument:
86 Lint/UselessAccessModifier:
90 Lint/UselessAssignment:
102 Metrics/BlockNesting:
106 # Configuration parameters: CountComments.
111 Metrics/CyclomaticComplexity:
114 # Offense count: 2076
115 # Configuration parameters: AllowURI, URISchemes.
120 # Configuration parameters: CountComments.
121 Metrics/MethodLength:
125 # Configuration parameters: CountKeywordArgs.
126 Metrics/ParameterLists:
130 Metrics/PerceivedComplexity:
134 # Cop supports --auto-correct.
135 # Configuration parameters: EnforcedStyle, SupportedStyles.
136 Style/AccessModifierIndentation:
140 Style/AccessorMethodName:
144 # Cop supports --auto-correct.
149 # Cop supports --auto-correct.
154 # Cop supports --auto-correct.
155 # Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle, SupportedLastArgumentHashStyles.
160 # Cop supports --auto-correct.
161 # Configuration parameters: EnforcedStyle, SupportedStyles.
162 Style/AlignParameters:
166 # Cop supports --auto-correct.
167 # Configuration parameters: EnforcedStyle, SupportedStyles.
176 # Cop supports --auto-correct.
181 # Cop supports --auto-correct.
182 # Configuration parameters: EnforcedStyle, SupportedStyles.
183 Style/BracesAroundHashParameters:
187 # Configuration parameters: IndentWhenRelativeTo, SupportedStyles, IndentOneStep.
188 Style/CaseIndentation:
192 # Configuration parameters: EnforcedStyle, SupportedStyles.
193 Style/ClassAndModuleChildren:
197 # Cop supports --auto-correct.
198 # Configuration parameters: EnforcedStyle, SupportedStyles.
207 # Cop supports --auto-correct.
208 Style/ColonMethodCall:
212 # Configuration parameters: Keywords.
213 Style/CommentAnnotation:
217 # Cop supports --auto-correct.
218 Style/CommentIndentation:
226 # Cop supports --auto-correct.
227 Style/DeprecatedHashMethods:
235 # Cop supports --auto-correct.
236 # Configuration parameters: EnforcedStyle, SupportedStyles.
241 Style/EachWithObject:
245 # Cop supports --auto-correct.
254 # Cop supports --auto-correct.
255 # Configuration parameters: AllowAdjacentOneLineDefs.
256 Style/EmptyLineBetweenDefs:
260 # Cop supports --auto-correct.
265 # Cop supports --auto-correct.
266 Style/EmptyLinesAroundAccessModifier:
270 # Cop supports --auto-correct.
271 # Configuration parameters: EnforcedStyle, SupportedStyles.
272 Style/EmptyLinesAroundBlockBody:
276 # Cop supports --auto-correct.
277 # Configuration parameters: EnforcedStyle, SupportedStyles.
278 Style/EmptyLinesAroundClassBody:
282 # Cop supports --auto-correct.
283 Style/EmptyLinesAroundMethodBody:
287 # Cop supports --auto-correct.
288 # Configuration parameters: EnforcedStyle, SupportedStyles.
289 Style/EmptyLinesAroundModuleBody:
293 # Cop supports --auto-correct.
298 # Configuration parameters: Exclude.
303 # Cop supports --auto-correct.
304 # Configuration parameters: EnforcedStyle, SupportedStyles.
305 Style/FirstParameterIndentation:
309 # Configuration parameters: EnforcedStyle, SupportedStyles.
314 # Configuration parameters: EnforcedStyle, SupportedStyles.
319 # Configuration parameters: AllowedVariables.
324 # Configuration parameters: MinBodyLength.
328 # Offense count: 5687
329 # Cop supports --auto-correct.
330 # Configuration parameters: EnforcedStyle, SupportedStyles.
335 # Configuration parameters: MaxLineLength.
336 Style/IfUnlessModifier:
340 # Cop supports --auto-correct.
345 # Cop supports --auto-correct.
346 # Configuration parameters: EnforcedStyle, SupportedStyles.
351 # Cop supports --auto-correct.
352 Style/IndentationConsistency:
356 # Cop supports --auto-correct.
357 # Configuration parameters: Width.
358 Style/IndentationWidth:
362 # Cop supports --auto-correct.
363 Style/LeadingCommentSpace:
367 # Cop supports --auto-correct.
368 Style/LineEndConcatenation:
372 # Cop supports --auto-correct.
373 Style/MethodCallParentheses:
377 # Cop supports --auto-correct.
378 # Configuration parameters: EnforcedStyle, SupportedStyles.
379 Style/MethodDefParentheses:
383 # Configuration parameters: EnforcedStyle, SupportedStyles.
388 # Cop supports --auto-correct.
389 Style/MultilineIfThen:
393 # Cop supports --auto-correct.
394 # Configuration parameters: EnforcedStyle, SupportedStyles.
395 Style/MultilineOperationIndentation:
399 Style/MultilineTernaryOperator:
403 # Cop supports --auto-correct.
408 Style/NestedTernaryOperator:
412 # Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles.
417 # Cop supports --auto-correct.
418 # Configuration parameters: IncludeSemanticChanges.
423 # Cop supports --auto-correct.
428 # Cop supports --auto-correct.
429 Style/NumericLiterals:
433 Style/OneLineConditional:
441 # Cop supports --auto-correct.
442 # Configuration parameters: AllowSafeAssignment.
443 Style/ParenthesesAroundCondition:
447 # Cop supports --auto-correct.
448 # Configuration parameters: PreferredDelimiters.
449 Style/PercentLiteralDelimiters:
453 # Cop supports --auto-correct.
458 # Configuration parameters: NamePrefix, NamePrefixBlacklist.
463 # Cop supports --auto-correct.
468 # Configuration parameters: EnforcedStyle, SupportedStyles.
473 # Cop supports --auto-correct.
474 Style/RedundantBegin:
478 # Cop supports --auto-correct.
479 # Configuration parameters: AllowMultipleReturnValues.
480 Style/RedundantReturn:
484 # Cop supports --auto-correct.
493 Style/RescueModifier:
497 # Cop supports --auto-correct.
498 Style/SelfAssignment:
502 # Cop supports --auto-correct.
503 # Configuration parameters: AllowAsExpressionSeparator.
508 # Cop supports --auto-correct.
509 # Configuration parameters: EnforcedStyle, SupportedStyles.
510 Style/SignalException:
514 # Configuration parameters: Methods.
515 Style/SingleLineBlockParams:
519 # Cop supports --auto-correct.
520 Style/SingleSpaceBeforeFirstArg:
524 # Cop supports --auto-correct.
525 Style/SpaceAfterColon:
529 # Cop supports --auto-correct.
530 Style/SpaceAfterComma:
534 # Cop supports --auto-correct.
535 Style/SpaceAfterControlKeyword:
539 # Cop supports --auto-correct.
540 Style/SpaceAfterMethodName:
544 # Cop supports --auto-correct.
545 # Configuration parameters: EnforcedStyle, SupportedStyles.
546 Style/SpaceAroundEqualsInParameterDefault:
550 # Cop supports --auto-correct.
551 Style/SpaceAroundOperators:
555 # Cop supports --auto-correct.
556 # Configuration parameters: EnforcedStyle, SupportedStyles.
557 Style/SpaceBeforeBlockBraces:
561 # Cop supports --auto-correct.
562 Style/SpaceBeforeComma:
566 # Cop supports --auto-correct.
567 Style/SpaceBeforeComment:
571 # Cop supports --auto-correct.
572 # Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
573 Style/SpaceInsideBlockBraces:
577 # Cop supports --auto-correct.
578 Style/SpaceInsideBrackets:
582 # Cop supports --auto-correct.
583 # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles.
584 Style/SpaceInsideHashLiteralBraces:
588 # Cop supports --auto-correct.
589 Style/SpaceInsideParens:
593 # Cop supports --auto-correct.
594 Style/SpaceInsideRangeLiteral:
598 # Cop supports --auto-correct.
599 Style/SpecialGlobalVars:
602 # Offense count: 6639
603 # Cop supports --auto-correct.
604 # Configuration parameters: EnforcedStyle, SupportedStyles.
605 Style/StringLiterals:
609 # Cop supports --auto-correct.
610 # Configuration parameters: EnforcedStyle, SupportedStyles.
611 Style/StringLiteralsInInterpolation:
615 Style/StructInheritance:
619 # Cop supports --auto-correct.
620 # Configuration parameters: IgnoredMethods.
625 # Cop supports --auto-correct.
630 # Cop supports --auto-correct.
631 # Configuration parameters: EnforcedStyle, SupportedStyles.
632 Style/TrailingBlankLines:
636 # Cop supports --auto-correct.
637 # Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
641 # Offense count: 1052
642 # Cop supports --auto-correct.
643 Style/TrailingWhitespace:
647 # Cop supports --auto-correct.
648 # Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, Whitelist.
649 Style/TrivialAccessors:
657 # Configuration parameters: EnforcedStyle, SupportedStyles.
662 # Cop supports --auto-correct.
667 # Cop supports --auto-correct.
672 # Configuration parameters: MaxLineLength.
673 Style/WhileUntilModifier:
677 # Cop supports --auto-correct.
678 # Configuration parameters: WordRegex.