Skip to content

Instantly share code, notes, and snippets.

@elmendalerenda
Last active August 29, 2015 14:03
Show Gist options
  • Save elmendalerenda/7c0d5f6fd9c394e434b9 to your computer and use it in GitHub Desktop.
Save elmendalerenda/7c0d5f6fd9c394e434b9 to your computer and use it in GitHub Desktop.
# This configuration was generated by `rubocop --auto-gen-config`
# on 2014-07-03 15:34:29 +0000 using RuboCop version 0.24.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.
Style/ClassLength:
Enabled: false
Style/DotPosition:
EnforcedStyle: trailing
# Offense count: 2
Lint/AmbiguousOperator:
Enabled: true
# Offense count: 1
# Configuration parameters: AllowSafeAssignment.
Lint/AssignmentInCondition:
Enabled: true
# Offense count: 3
# Cop supports --auto-correct.
Lint/UnusedMethodArgument:
Enabled: true
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle, SupportedLastArgumentHashStyles.
Style/AlignHash:
Enabled: true
# Offense count: 1
# Cop supports --auto-correct.
Style/AndOr:
Enabled: true
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/BracesAroundHashParameters:
Enabled: true
# Offense count: 1
Style/ClassVars:
Enabled: true
# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: PreferredMethods.
Style/CollectionMethods:
Enabled: true
PreferredMethods:
reduce: inject
find: detect
# Offense count: 19
Style/Documentation:
Enabled: false
# Offense count: 6
# Cop supports --auto-correct.
Style/EmptyLinesAroundBody:
Enabled: true
# Offense count: 20
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/Encoding:
Enabled: false
# Offense count: 2
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Enabled: true
# Offense count: 55
# Cop supports --auto-correct.
# Configuration parameters: SupportedStyles.
Style/HashSyntax:
EnforcedStyle: ruby19
# Offense count: 30
# Configuration parameters: AllowURI.
Style/LineLength:
Max: 458
# Offense count: 1
# Configuration parameters: CountComments.
Style/MethodLength:
Max: 11
# Offense count: 1
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/Next:
Enabled: true
# Offense count: 2
# Configuration parameters: NamePrefixBlacklist.
Style/PredicateName:
Enabled: true
# Offense count: 1
# Cop supports --auto-correct.
Style/RedundantBegin:
Enabled: true
# Offense count: 3
# Cop supports --auto-correct.
Style/RedundantSelf:
Enabled: true
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/SignalException:
Enabled: true
EnforcedStyle: only_raise
Style/RaiseArgs:
Enabled: false
# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: SupportedStyles.
Style/SpaceAroundEqualsInParameterDefault:
EnforcedStyle: no_space
# Offense count: 5
# Cop supports --auto-correct.
Style/SpaceAroundOperators:
Enabled: true
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/SpaceBeforeBlockBraces:
Enabled: true
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
Style/SpaceInsideBlockBraces:
Enabled: true
# Offense count: 2
# Cop supports --auto-correct.
Style/SpaceInsideBrackets:
Enabled: true
# Offense count: 12
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles.
Style/SpaceInsideHashLiteralBraces:
Enabled: true
# Offense count: 45
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/StringLiterals:
Enabled: true
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/TrailingBlankLines:
Enabled: true
# Offense count: 1
# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
Style/TrailingComma:
Enabled: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment