Sha256: d3e4a14b1c5c3e5558eb80e5ab9bd06a6f5068483952f4e729ee6b68c4dc2a64

Contents?: true

Size: 1.58 KB

Versions: 2

Compression:

Stored size: 1.58 KB

Contents

AllCops:
  Exclude:
    # These are autogenerated binstubs.
    - 'bin/*'
    # Keep rubocop from scanning installed gems.
    - 'vendor/**/*'
  TargetRubyVersion: 2.1
# Line length is something that isn't dogmatic. 80 chars is a good recommendation.
Metrics/LineLength:
  Enabled: false
# This requires leading comments which can tend to be redundant.
Style/Documentation:
  Enabled: false
# I prefer my underscore convention.
Naming/MemoizedInstanceVariableName:
  Enabled: false

Metrics/BlockLength:
  Exclude:
    # Tests involve long blocks.
    - 'spec/**/*'

# I'm not pulling in a library, or forcing Ruby 2.3+
Layout/IndentHeredoc:
  Enabled: false

# When we use $stderr.puts, we don't see that as verbose.
Style/StderrPuts:
  Enabled: false

# Extra cops:

# Encourages block syntax for things like File.open
Style/AutoResourceCleanup:
  Enabled: true

# Standardize multi-line params.
Layout/FirstArrayElementLineBreak:
  Enabled: true
Layout/FirstHashElementLineBreak:
  Enabled: true
Layout/FirstMethodArgumentLineBreak:
  Enabled: true
Layout/FirstMethodParameterLineBreak:
  Enabled: true

# Encourage using public_send to prove that you actually want to bypass visibility.
Style/Send:
  Enabled: true

# If you interpolate a literal, just include it in the string itself.
Lint/LiteralInInterpolation:
  Enabled: true

# Personal preference. Makes the diffs smaller.
Style/TrailingCommaInArrayLiteral:
  EnforcedStyleForMultiline: consistent_comma
Style/TrailingCommaInHashLiteral:
  EnforcedStyleForMultiline: consistent_comma
Style/TrailingCommaInArguments:
  EnforcedStyleForMultiline: consistent_comma

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
letsencrypt_webfaction-2.2.3 .rubocop.yml
letsencrypt_webfaction-2.2.2 .rubocop.yml