Sha256: 1cd54848c37d0f183e7f40753475ac915083b8a6bb7cf973a43d514bfb9efc66

Contents?: true

Size: 1.93 KB

Versions: 7

Compression:

Stored size: 1.93 KB

Contents

require: rubocop-rspec

AllCops:
  TargetRubyVersion: 2.6.0
  NewCops: enable
  Exclude:
    - 'bin/bundle'
    - 'example/bin/bundle'
    - 'vendor/bundle/**/*'
    - 'bin/console'

Layout/LineLength:
  Max: 160

RSpec/NamedSubject:
  Enabled: false

RSpec/DescribeClass:
  Enabled: false

Metrics/BlockLength:
  Exclude:
    - 'spec/**/*.rb'
    - 'sober_swag.gemspec'
    - 'example/spec/**/*.rb'

Lint/MissingSuper:
  Enabled: false

RSpec/ImplicitBlockExpectation:
  Enabled: false

RSpec/ImplicitExpect:
  EnforcedStyle: should

RSpec/LeadingSubject:
  Enabled: false

Style/MultilineBlockChain:
  Enabled: false

Metrics/AbcSize:
  Enabled: false

Style/Documentation:
  Exclude:
    - 'example/db/migrate/**/*'

Metrics/PerceivedComplexity:
  Enabled: false

Layout/EmptyLinesAroundAttributeAccessor:
  Enabled: true

Layout/SpaceAroundMethodCallOperator:
  Enabled: true

Lint/DeprecatedOpenSSLConstant:
  Enabled: true

Lint/DuplicateElsifCondition:
  Enabled: true

Lint/MixedRegexpCaptureTypes:
  Enabled: true

Lint/RaiseException:
  Enabled: true

Lint/StructNewOverride:
  Enabled: true

Style/AccessorGrouping:
  Enabled: true

Style/ArrayCoercion:
  Enabled: true

Style/BisectedAttrAccessor:
  Enabled: true

Style/CaseLikeIf:
  Enabled: true

Style/ExponentialNotation:
  Enabled: true

Style/HashAsLastArrayItem:
  Enabled: true

Style/HashEachMethods:
  Enabled: true

Style/HashLikeCase:
  Enabled: true

Style/HashTransformKeys:
  Enabled: true

Style/HashTransformValues:
  Enabled: true

Style/RedundantAssignment:
  Enabled: true

Style/RedundantFetchBlock:
  Enabled: true

Style/RedundantFileExtensionInRequire:
  Enabled: true

Style/RedundantRegexpCharacterClass:
  Enabled: true

Style/RedundantRegexpEscape:
  Enabled: true

Style/SlicingWithRange:
  Enabled: true

RSpec/NestedGroups:
  Max: 5

RSpec/ExampleLength:
  Max: 10

Style/FrozenStringLiteralComment:
  Enabled: false

Style/BlockDelimiters:
  EnforcedStyle: braces_for_chaining

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sober_swag-0.25.2 .rubocop.yml
sober_swag-0.25.1 .rubocop.yml
sober_swag-0.25.0 .rubocop.yml
sober_swag-0.24.1 .rubocop.yml
sober_swag-0.24.0 .rubocop.yml
sober_swag-0.23.0 .rubocop.yml
sober_swag-0.22.0 .rubocop.yml