Sha256: c1c16e4e40b9a4227967e051ec37edbb0599b5e716592cbeebdbd0a16be59544

Contents?: true

Size: 1.44 KB

Versions: 1

Compression:

Stored size: 1.44 KB

Contents

require: rubocop-rspec

AllCops:
  TargetRubyVersion: 2.1

# would like to re-enable
# https://github.com/nevir/rubocop-rspec/issues/62
RSpec/FilePath:
  Enabled: false

Metrics/MethodLength:
  Max: 48

Metrics/AbcSize:
  Max: 51

Metrics/PerceivedComplexity:
  Max: 10

Style/RegexpLiteral:
  Enabled: false

Metrics/CyclomaticComplexity:
  Max: 10

Metrics/ParameterLists:
  Max: 10

# default disabled rules
Style/AutoResourceCleanup:
  Enabled: true

Style/CollectionMethods:
  Enabled: true
  PreferredMethods:
    collect: 'map'
    collect!: 'map!'
    inject: 'reduce'
    find: 'detect'
    find_all: 'select'

Style/FirstArrayElementLineBreak:
  Enabled: true

Style/FirstHashElementLineBreak:
  Enabled: true

Style/FirstMethodArgumentLineBreak:
  Enabled: true

Style/FirstMethodParameterLineBreak:
  Enabled: true

Style/MultilineArrayBraceLayout:
  Enabled: true

Style/MultilineHashBraceLayout:
  Enabled: true

Style/MultilineMethodCallBraceLayout:
  Enabled: true

Style/MultilineMethodDefinitionBraceLayout:
  Enabled: true

Style/OptionHash:
  Enabled: true

Style/Send:
  Enabled: true

RSpec/VerifiedDoubles:
  Enabled: true

# non-conventional rules
Style/LambdaCall:
  EnforcedStyle: braces

Style/EmptyLinesAroundClassBody:
  EnforcedStyle: empty_lines

Style/AccessModifierIndentation:
  EnforcedStyle: outdent

Style/TrailingCommaInLiteral:
  EnforcedStyleForMultiline: comma

RSpec/DescribeMethod:
  Exclude:
    - spec/scrum_lint/version_spec.rb

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
afk-0.0.1 .rubocop.yml