Sha256: 8b34d85ae41f24ead8ed177dd76447c1b5c9cd2cf5520125946c12a7e908f044

Contents?: true

Size: 1.8 KB

Versions: 6

Compression:

Stored size: 1.8 KB

Contents

AllCops:
  Include:
    - '**/Gemfile'
    - '**/Rakefile'
    - '**/*.rake'
    - '**/*.gemspec'
  Exclude:
    - tmp/**/*
    - pkg/**/*

Lint/FormatParameterMismatch:
  Enabled: true

# Lint/OptionHash:
#   Enabled: true

Metrics/LineLength:
  Max: 100

Metrics/MethodLength:
  Exclude:
  - 'db/migrate/*'

Performance/StringReplacement:
  Enabled: true

Style/AccessModifierIndentation:
  EnforcedStyle: outdent

Style/AlignHash:
  EnforcedColonStyle: table
  # TODO: Err, maybe keys here?
  EnforcedLastArgumentHashStyle: ignore_implicit

Style/CollectionMethods:
  PreferredMethods:
    find: detect
    inject: reduce
    collect: map
    find_all: select

# Allow comments to be aligned to one another.
Style/CommentIndentation:
  Enabled: false

# Don't bother with class documentation for Rails application class, and DB
# migrations.
Style/Documentation:
  Exclude:
  - 'db/migrate/*'
  - 'config/application.rb'

# We like the truthiness operator.
Style/DoubleNegation:
  Enabled: false

# Style/DotPosition:
#   EnforcedStyle: trailing

Style/EmptyLineBetweenDefs:
  AllowAdjacentOneLineDefs: true

Style/ExtraSpacing:
  AllowForAlignment: true

Style/FormatString:
  EnforcedStyle: 'String#%'
  SupportedStyles: 'String#%'

# Style/GuardClause:
#   Enabled: false

Style/IfUnlessModifier:
  Enabled: false

Style/LineEndConcatenation:
  Enabled: false

Style/RegexpLiteral:
  AllowInnerSlashes: false

Style/RescueEnsureAlignment:
  Enabled: true

# Style/RescueModifier:
#   Enabled: false

# We like terse methods.
Style/SingleLineMethods:
  Enabled: false

Style/SpaceAroundOperators:
  MultiSpaceAllowedForOperators:
    - '='
    - '=>'
    - '||='
    - '+='
    - '-='
    - '*='
    - '/='

Style/StringLiterals:
  EnforcedStyle: double_quotes

Style/TrailingComma:
  EnforcedStyleForMultiline: comma
  SupportedStyles: comma

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
surface_master-0.6.0 .rubocop.yml
surface_master-0.5.1 .rubocop.yml
surface_master-0.5.0 .rubocop.yml
surface_master-0.4.1 .rubocop.yml
surface_master-0.4.0 .rubocop.yml
surface_master-0.2.1 .rubocop.yml