Sha256: e7318301e80ec9a53ffae5c434d30e07aaf7a64fd7f31c807a70a9fc046bd80d

Contents?: true

Size: 1.48 KB

Versions: 1

Compression:

Stored size: 1.48 KB

Contents

AllCops:
  Exclude:
    - 'pkg/**/*'

# Allow if (foo = get_foo) style
Lint/AssignmentInCondition:
  AllowSafeAssignment: true

# Allow multi-line blocks of all sorts
Style/BlockDelimiters:
  Enabled: false

# Dot at end of line makes it clearer that the line is not done
Style/DotPosition:
  EnforcedStyle: trailing

# Require lines to fit in pull requests.
# This config is commented out temporarily to allow .rubocop_todo.yml to
# configure this cop.
#Style/LineLength:
  #Max: 92

# Always use raise to raise exceptions
Style/SignalException:
  EnforcedStyle: only_raise

# Allow explicit return with multiple return values
Style/RedundantReturn:
  AllowMultipleReturnValues: true

# Require at least two dependent lines before suggesting a guard clause
Style/GuardClause:
  MinBodyLength: 2

# Don't use if or unless as modifier if the line gets too long
Style/IfUnlessModifier:
  MaxLineLength: 60

Style/TrivialAccessors:
  ExactNameMatch: true

Style/SingleLineBlockParams:
  Enabled: false

# Sometimes an if statement just looks better than next with a guard clause
Style/Next:
  Enabled: false

Style/AccessorMethodName:
  Enabled: false

# Support use of and and or for control flow.
Style/AndOr:
  Enabled: false

# RuboCop has no setting to accept how vim aligns parameters.
Style/AlignParameters:
  Enabled: false

# Allow semantic choice of trailing comma
Style/TrailingComma:
  Enabled: false

# Alexandria uses regular arrays
Style/WordArray:
  Enabled: false

inherit_from: .rubocop_todo.yml

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alexandria-book-collection-manager-0.6.9.pre1 .rubocop.yml