Sha256: 364c7457855a28f5ca317a32a9d6ac1193f8451dfc2bf6a78f3bf0b9b34d1935

Contents?: true

Size: 1.78 KB

Versions: 7

Compression:

Stored size: 1.78 KB

Contents

require: rubocop-rspec

AllCops:
  DefaultFormatter: fuubar
  TargetRubyVersion: 2.3
  DisplayCopNames: true

Lint/AmbiguousBlockAssociation:
  Exclude:
    - spec/**/*_spec.rb

Metrics/AbcSize:
  Exclude:
    - lib/junk_drawer/rails/bulk_updatable.rb

Metrics/MethodLength:
  Exclude:
    - lib/junk_drawer/rails/bulk_updatable.rb

Metrics/BlockLength:
  Exclude:
    - junk_drawer.gemspec
    - spec/**/*

RSpec/ExampleLength:
  Enabled: false

RSpec/MultipleExpectations:
  Enabled: false

# 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/FilePath:
  IgnoreMethods: true
  Exclude:
    - spec/junk_drawer/rails/bulk_updatable_spec.rb

RSpec/VerifiedDoubles:
  Enabled: true

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

Style/EmptyLinesAroundClassBody:
  EnforcedStyle: empty_lines

Style/AccessModifierIndentation:
  EnforcedStyle: outdent

Style/TrailingCommaInLiteral:
  EnforcedStyleForMultiline: comma

Style/TrailingCommaInArguments:
  EnforcedStyleForMultiline: consistent_comma

Style/TrailingCommaInArguments:
  EnforcedStyleForMultiline: consistent_comma

Style/VariableNumber:
  EnforcedStyle: snake_case

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
junk_drawer-1.8.0 .rubocop.yml
junk_drawer-1.7.0 .rubocop.yml
junk_drawer-1.6.3 .rubocop.yml
junk_drawer-1.6.2 .rubocop.yml
junk_drawer-1.6.1 .rubocop.yml
junk_drawer-1.6.0 .rubocop.yml
junk_drawer-1.5.0 .rubocop.yml