# Custom configuration, edit with care! This gem needs to be backwards # compatible with Ruby 1.8: Style/HashSyntax: EnforcedStyle: hash_rockets Style/DeprecatedHashMethods: Enabled: false # TODO: How to warn if stabby proc is used? Style/Lambda: Enabled: false Style/StringLiterals: EnforcedStyle: single_quotes Style/DotPosition: EnforcedStyle: leading # Auto-generated config to be cleaned up and deleted: # Offense count: 2 # Cop supports --auto-correct. Lint/BlockAlignment: Enabled: false Lint/FormatParameterMismatch: Enabled: false # Offense count: 1 Lint/HandleExceptions: Enabled: false # Offense count: 1 Lint/RescueException: Enabled: false # Offense count: 1 Lint/ShadowingOuterLocalVariable: Enabled: false # Offense count: 1 Lint/UnderscorePrefixedVariableName: Enabled: false # Offense count: 9 # Cop supports --auto-correct. Lint/UnusedBlockArgument: Enabled: false # Offense count: 17 # Cop supports --auto-correct. Lint/UnusedMethodArgument: Enabled: false # Offense count: 22 Lint/UselessAssignment: Enabled: false # Offense count: 183 Metrics/AbcSize: Max: 559 # Offense count: 1 Metrics/BlockNesting: Max: 4 # Offense count: 17 # Configuration parameters: CountComments. Metrics/ClassLength: Max: 1099 # Offense count: 22 Metrics/CyclomaticComplexity: Max: 42 # Offense count: 844 # Configuration parameters: AllowURI, URISchemes. Metrics/LineLength: Max: 276 # Offense count: 178 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 157 # Offense count: 13 # Configuration parameters: CountKeywordArgs. Metrics/ParameterLists: Max: 8 # Offense count: 14 Metrics/PerceivedComplexity: Max: 41 Performance/StringReplacement: Enabled: false # Offense count: 4 Style/AccessorMethodName: Enabled: false Style/AlignArray: Enabled: false # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/BarePercentLiterals: Enabled: false # Offense count: 7 Style/CaseEquality: Enabled: false # Offense count: 63 # Configuration parameters: IndentWhenRelativeTo, SupportedStyles, IndentOneStep. Style/CaseIndentation: Enabled: false # Offense count: 13 Style/ClassAndModuleCamelCase: Enabled: false # Offense count: 6 # Configuration parameters: EnforcedStyle, SupportedStyles. Style/ClassAndModuleChildren: Enabled: false # Offense count: 1 # Cop supports --auto-correct. Style/ClosingParenthesisIndentation: Enabled: false Style/CollectionMethods: Enabled: false # Offense count: 5 # Cop supports --auto-correct. Style/CommentIndentation: Enabled: false # Offense count: 126 Style/ConstantName: Enabled: false # Offense count: 62 Style/Documentation: Enabled: false Style/EmptyLinesAroundBlockBody: Enabled: false Style/ExtraSpacing: Enabled: false # Offense count: 23 # Configuration parameters: Exclude. Style/FileName: Enabled: false # Offense count: 68 # Configuration parameters: EnforcedStyle, SupportedStyles. Style/FormatString: Enabled: false # Offense count: 45 # Configuration parameters: AllowedVariables. Style/GlobalVars: Enabled: false # Offense count: 8 # Configuration parameters: MinBodyLength. Style/GuardClause: Enabled: false # Offense count: 29 # Cop supports --auto-correct. # Configuration parameters: MaxLineLength. Style/IfUnlessModifier: Enabled: false Style/IndentArray: Enabled: false Style/IndentationConsistency: Enabled: false # Offense count: 1049 # Cop supports --auto-correct. # Configuration parameters: Width. Style/IndentationWidth: Enabled: false # Offense count: 47 # Cop supports --auto-correct. Style/LeadingCommentSpace: Enabled: false # Offense count: 4 # Configuration parameters: EnforcedStyle, SupportedStyles. Style/MethodName: Enabled: false # Offense count: 9 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/MultilineOperationIndentation: Enabled: false # Offense count: 1 Style/MultilineTernaryOperator: Enabled: false # Offense count: 3 # Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles. Style/Next: Enabled: false # Offense count: 21 # Cop supports --auto-correct. Style/NumericLiterals: MinDigits: 18 # Offense count: 1 Style/OpMethod: Enabled: false # Offense count: 9 # Cop supports --auto-correct. # Configuration parameters: PreferredDelimiters. Style/PercentLiteralDelimiters: Enabled: false # Offense count: 10 # Cop supports --auto-correct. Style/PerlBackrefs: Enabled: false # Offense count: 4 # Configuration parameters: NamePrefix, NamePrefixBlacklist. Style/PredicateName: Enabled: false # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes. Style/RegexpLiteral: Enabled: false Style/RescueEnsureAlignment: Enabled: false # Offense count: 2 Style/RescueModifier: Enabled: false # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: AllowAsExpressionSeparator. Style/Semicolon: Enabled: false # Offense count: 2 # Configuration parameters: Methods. Style/SingleLineBlockParams: Enabled: false # Offense count: 7 # Cop supports --auto-correct. Style/SingleSpaceBeforeFirstArg: Enabled: false # Offense count: 1114 # Cop supports --auto-correct. Style/SpaceAfterComma: Enabled: false # Offense count: 91 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/SpaceAroundEqualsInParameterDefault: Enabled: false # Offense count: 1066 # Cop supports --auto-correct. # Configuration parameters: MultiSpaceAllowedForOperators. Style/SpaceAroundOperators: Enabled: false # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/SpaceBeforeBlockBraces: Enabled: false # Offense count: 204 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters. Style/SpaceInsideBlockBraces: Enabled: false # Offense count: 6 # Cop supports --auto-correct. Style/SpaceInsideBrackets: Enabled: false # Offense count: 68 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles. Style/SpaceInsideHashLiteralBraces: Enabled: false # Offense count: 35 # Cop supports --auto-correct. Style/SpaceInsideParens: Enabled: false # Offense count: 12 # Cop supports --auto-correct. # Configuration parameters: IgnoredMethods. Style/SymbolProc: Enabled: false # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleForMultiline, SupportedStyles. Style/TrailingComma: Enabled: false # Offense count: 2 # Configuration parameters: EnforcedStyle, SupportedStyles. Style/VariableName: Enabled: false # Offense count: 7 # Cop supports --auto-correct. # Configuration parameters: WordRegex. Style/WordArray: MinSize: 3