Skip to content

Commit

Permalink
Setup RuboCop
Browse files Browse the repository at this point in the history
  • Loading branch information
esasse committed Jul 31, 2015
1 parent add8ca4 commit 3ce68f3
Show file tree
Hide file tree
Showing 5 changed files with 413 additions and 1 deletion.
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
inherit_from: .rubocop_todo.yml
394 changes: 394 additions & 0 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,394 @@
# This configuration was generated by `rubocop --auto-gen-config`
# on 2015-07-20 19:11:40 -0300 using RuboCop version 0.32.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 1
Lint/AmbiguousOperator:
Enabled: false

# Offense count: 1
# Configuration parameters: AllowSafeAssignment.
Lint/AssignmentInCondition:
Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
Lint/DeprecatedClassMethods:
Enabled: false

# Offense count: 2
Lint/Eval:
Enabled: false

# Offense count: 1
Lint/HandleExceptions:
Enabled: false

# Offense count: 1
Lint/LiteralInCondition:
Enabled: false

# Offense count: 2
Lint/NestedMethodDefinition:
Enabled: false

# Offense count: 1
Lint/ShadowingOuterLocalVariable:
Enabled: false

# Offense count: 5
# Cop supports --auto-correct.
Lint/UnusedBlockArgument:
Enabled: false

# Offense count: 3
# Cop supports --auto-correct.
Lint/UnusedMethodArgument:
Enabled: false

# Offense count: 10
Lint/UselessAssignment:
Enabled: false

# Offense count: 11
Metrics/AbcSize:
Max: 43

# Offense count: 2
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 143

# Offense count: 1
Metrics/CyclomaticComplexity:
Max: 7

# Offense count: 65
# Configuration parameters: AllowURI, URISchemes.
Metrics/LineLength:
Max: 122

# Offense count: 21
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 34

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/AccessModifierIndentation:
Enabled: false

# Offense count: 3
Style/AccessorMethodName:
Enabled: false

# Offense count: 5
# Cop supports --auto-correct.
Style/AlignArray:
Enabled: false

# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle, SupportedLastArgumentHashStyles.
Style/AlignHash:
Enabled: false

# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/AlignParameters:
Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/AndOr:
Enabled: false

# Offense count: 9
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, ProceduralMethods, FunctionalMethods, IgnoredMethods.
Style/BlockDelimiters:
Enabled: false

# Offense count: 2
# Cop supports --auto-correct.
Style/BlockEndNewline:
Enabled: false

# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/BracesAroundHashParameters:
Enabled: false

# Offense count: 12
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/ClassAndModuleChildren:
Enabled: false

# Offense count: 9
Style/ClassVars:
Enabled: false

# Offense count: 31
Style/Documentation:
Enabled: false

# Offense count: 9
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/DotPosition:
Enabled: false

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: AllowAdjacentOneLineDefs.
Style/EmptyLineBetweenDefs:
Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
Style/EmptyLines:
Enabled: false

# Offense count: 6
# Cop supports --auto-correct.
Style/EmptyLinesAroundAccessModifier:
Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/EmptyLinesAroundBlockBody:
Enabled: false

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/EmptyLinesAroundClassBody:
Enabled: false

# Offense count: 12
# Configuration parameters: AllowedVariables.
Style/GlobalVars:
Enabled: false

# Offense count: 2
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Enabled: false

# Offense count: 85
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, UseHashRocketsWithSymbolValues.
Style/HashSyntax:
Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: MaxLineLength.
Style/IfUnlessModifier:
Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
Style/IndentArray:
Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: Width.
Style/IndentationWidth:
Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
Style/InfiniteLoop:
Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
Style/Lambda:
Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
Style/LeadingCommentSpace:
Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
Style/LineEndConcatenation:
Enabled: false

# Offense count: 3
# Cop supports --auto-correct.
Style/MethodCallParentheses:
Enabled: false

# Offense count: 1
Style/MultilineBlockChain:
Enabled: false

# Offense count: 2
# Cop supports --auto-correct.
Style/MultilineBlockLayout:
Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/MultilineOperationIndentation:
Enabled: false

# Offense count: 1
# Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles.
Style/Next:
Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
Style/NumericLiterals:
MinDigits: 9

# Offense count: 1
# Cop supports --auto-correct.
Style/ParallelAssignment:
Enabled: false

# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: PreferredDelimiters.
Style/PercentLiteralDelimiters:
Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: AllowAsExpressionSeparator.
Style/Semicolon:
Enabled: false

# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/SignalException:
Enabled: false

# Offense count: 1
# Configuration parameters: Methods.
Style/SingleLineBlockParams:
Enabled: false

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: AllowIfMethodIsEmpty.
Style/SingleLineMethods:
Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
Style/SingleSpaceBeforeFirstArg:
Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
Style/SpaceAfterComma:
Enabled: false

# Offense count: 61
# Cop supports --auto-correct.
# Configuration parameters: MultiSpaceAllowedForOperators.
Style/SpaceAroundOperators:
Enabled: false

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/SpaceBeforeBlockBraces:
Enabled: false

# Offense count: 7
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
Style/SpaceInsideBlockBraces:
Enabled: false

# Offense count: 5
# Cop supports --auto-correct.
Style/SpaceInsideBrackets:
Enabled: false

# Offense count: 11
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles.
Style/SpaceInsideHashLiteralBraces:
Enabled: false

# Offense count: 40
# Cop supports --auto-correct.
Style/SpaceInsideParens:
Enabled: false

# Offense count: 13
# Cop supports --auto-correct.
Style/SpaceInsideStringInterpolation:
Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
Style/SpecialGlobalVars:
Enabled: false

# Offense count: 308
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/StringLiterals:
Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/StringLiteralsInInterpolation:
Enabled: false

# Offense count: 1
Style/StructInheritance:
Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: IgnoredMethods.
Style/SymbolProc:
Enabled: false

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/TrailingBlankLines:
Enabled: false

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
Style/TrailingComma:
Enabled: false

# Offense count: 3
# Cop supports --auto-correct.
Style/TrailingUnderscoreVariable:
Enabled: false

# Offense count: 8
# Cop supports --auto-correct.
Style/TrailingWhitespace:
Enabled: false

# Offense count: 1
# Cop supports --auto-correct.
Style/UnneededCapitalW:
Enabled: false
Loading

0 comments on commit 3ce68f3

Please sign in to comment.