Sha256: 7f960ef574d2961d06cff229c64b2fd470d553bd612098cb96a062e883132b74

Contents?: true

Size: 1.93 KB

Versions: 2

Compression:

Stored size: 1.93 KB

Contents

AllCops:
  TargetRubyVersion: 2.3

Gemspec/RequiredRubyVersion:
  Enabled: false

Layout/ParameterAlignment:
  EnforcedStyle: with_fixed_indentation

Layout/CaseIndentation:
  EnforcedStyle: end

Layout/ClosingHeredocIndentation:
  Enabled: false

# A method chain with a trailing dot is able to be copy-and-pasted into a
# console
Layout/DotPosition:
  EnforcedStyle: trailing

Layout/EmptyLinesAroundAccessModifier:
  Enabled: false

# This cop has a bug in 0.52.0
# https://github.com/bbatsov/rubocop/issues/5224
Layout/EmptyLinesAroundArguments:
  Enabled: false

Layout/HeredocIndentation:
  Enabled: false

Layout/MultilineMethodCallIndentation:
  EnforcedStyle: indented

Layout/MultilineOperationIndentation:
  EnforcedStyle: indented

Layout/EndAlignment:
  EnforcedStyleAlignWith: variable

Metrics/AbcSize:
  Exclude:
    - lib/bunup/options.rb

# Compared to metrics like `AbcSize` or `CyclomaticComplexity`, the number of
# lines in a method is not a useful metric. It's common to have very long
# methods (> 50 lines) which are quite simple. For example, a method that
# returns a long string with only a few interpolations.
Metrics/MethodLength:
  Enabled: false

Metrics/BlockLength:
  Enabled: false

Metrics/ClassLength:
  Enabled: false

Metrics/ModuleLength:
  Enabled: false

# Too subtle to lint. Recommend semantic style, but avoid `end.x`.
Style/BlockDelimiters:
  Enabled: false

# Adding annotations to short format strings would make them less readable.
Style/FormatStringToken:
  Enabled: false

# Too complicated for a linter. Should be up to the developer at implementation
# time.
Style/GuardClause:
  Enabled: false

# New cop opt-in
Style/HashEachMethods:
  Enabled: true

# New cop opt-in
Style/HashTransformKeys:
  Enabled: true

# New cop opt-in
Style/HashTransformValues:
  Enabled: true

# Too subtle to lint. Avoid the "modifier" (postfix) style except on extremely
# short and simple lines.
Style/IfUnlessModifier:
  Enabled: false

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bunup-0.3.1 .rubocop.yml
bunup-0.3.0 .rubocop.yml