Sha256: 89d02d34f8b922aea5ea824ce3d21a6673169ddd7baf8c48b748201d01fce7b1

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

require:
  - rubocop/cop/internal_affairs
  - rubocop-rake
  - rubocop-rspec

AllCops:
  DisplayCopNames: true
  TargetRubyVersion: 2.7
  NewCops: enable

Lint/RaiseException:
  Enabled: true

Lint/StructNewOverride:
  Enabled: true

Metrics/BlockLength:
  Exclude:
    - "spec/**/*"

Metrics/ClassLength:
  Enabled: false

Metrics/MethodLength:
  Max: 14

Naming/FileName:
  Exclude:
    - lib/rubocop-thread_safety.rb
    - rubocop-thread_safety.gemspec

# Enable more cops that are disabled by default:

Style/AutoResourceCleanup:
  Enabled: true

Style/CollectionMethods:
  Enabled: true

Style/FormatStringToken:
  Exclude:
    - spec/**/*

Style/HashEachMethods:
  Enabled: true

Style/HashTransformKeys:
  Enabled: false

Style/HashTransformValues:
  Enabled: false

Style/MethodCalledOnDoEndBlock:
  Enabled: true
  Exclude:
    - spec/**/*

Style/MissingElse:
  Enabled: true
  EnforcedStyle: case

Style/OptionHash:
  Enabled: true

Style/Send:
  Enabled: true

Style/StringMethods:
  Enabled: true

Style/SymbolArray:
  Enabled: true

RSpec/ExampleLength:
  Max: 11
  Exclude:
    - spec/rubocop/cop/thread_safety/rack_middleware_instance_variable_spec.rb

RSpec/ContextWording:
  Exclude:
    - spec/shared_contexts.rb

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubocop-thread_safety-0.6.0 .rubocop.yml