Sha256: 7531373a5a34d6b8bdbad6a57760149fc9ee4e8abe43887ccf164d0a1f6029a7

Contents?: true

Size: 1.15 KB

Versions: 3

Compression:

Stored size: 1.15 KB

Contents

# For all options see https://github.com/bbatsov/rubocop/tree/master/config

inherit_from: .rubocop_todo.yml

AllCops:
  RunRailsCops: false
  Include:
    - Rakefile
  Exclude:
    - .*/**/*

# Limit lines to 80 characters.
LineLength:
  Max: 90

ClassLength:
  Enabled: false

ModuleLength:
  Enabled: false

# Avoid methods longer than 30 lines of code
MethodLength:
  CountComments: false  # count full line comments?
  Max: 87

# Avoid single-line methods.
SingleLineMethods:
  AllowIfMethodIsEmpty: true

StringLiterals:
  Enabled: false

GlobalVars:
  Enabled: false # We use them Redis + StatsD (though maybe we shouldn't?)

# Wants underscores in all large numbers. Pain in the ass for things like
# unix timestamps.
NumericLiterals:
  Enabled: false

# Wants you to use the same argument names for every reduce. This seems kinda
# naff compared to naming them semantically
SingleLineBlockParams:
  Enabled: false

Style/SignalException:
  EnforcedStyle: 'only_raise'

# Use trailing rather than leading dots on multi-line call chains
Style/DotPosition:
  EnforcedStyle: trailing

# Allow non-ASCII characters (e.g. £) in comments
Style/AsciiComments:
  Enabled: false

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
genius-0.1.2 .rubocop.yml
genius_fixed-0.1.2 .rubocop.yml
genius-0.1.1 .rubocop.yml