Sha256: 9c05649f118ee138c3295d12f4fa7a9d60c92470b3259dbceb887ebc27d86762

Contents?: true

Size: 900 Bytes

Versions: 3

Compression:

Stored size: 900 Bytes

Contents

# Rubocop linting options

AllCops:
  TargetRubyVersion: 2.4 # Modern Ruby

# Gemspecs are just a giant block, anyway
Metrics/BlockLength:
  Exclude:
    - 'whatup.gemspec'

Metrics/MethodLength:
  Max: 20 # 10 is a bit too low

# Don't type unneccesary ()
Style/MethodDefParentheses:
  EnforcedStyle: require_no_parentheses

# { } for blocks, {} for hashes
Layout/SpaceInsideHashLiteralBraces:
  EnforcedStyle: no_space

# while line = gets do
#   ...
# end
Lint/AssignmentInCondition:
  Enabled: false

# outcome = some_really_long_event \
#   ? choice_a
#   : choice_a
Style/MultilineTernaryOperator:
  Enabled: false

# Encouraging a comment above every single module or class oftentimes leads to
# redundant comments that are odds with the design principle of writing
# simple, readable code
Style/Documentation:
  Enabled: false

# [a, b, c].map &:to_f
Lint/AmbiguousOperator:
  Enabled: false

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
whatup-0.2.2 .rubocop.yml
whatup-0.2.1 .rubocop.yml
whatup-0.2.0 .rubocop.yml