Sha256: 2585fd61750b9c74c8ff79254cd15ccab3563d210707f8b64e6b4970eaf5c292

Contents?: true

Size: 1.57 KB

Versions: 5

Compression:

Stored size: 1.57 KB

Contents

require:
  - rubocop-rspec

AllCops:
  NewCops: enable
  TargetRubyVersion: 2.6

  Exclude:
    - 'bin/**/*'

Layout/LineLength:
  Max: 120

# Rubocop and I cannot agree.
Layout/MultilineMethodCallBraceLayout:
  Enabled: false

Metrics/BlockLength:
  Enabled: false

Naming/MemoizedInstanceVariableName:
  EnforcedStyleForLeadingUnderscores: required

RSpec/AnyInstance:
  Enabled: false

RSpec/ExampleLength:
  Max: 15

RSpec/DescribeClass:
  Enabled: false

RSpec/DescribedClass:
  Enabled: false

RSpec/NotToNot:
  EnforcedStyle: to_not

RSpec/LeadingSubject:
  Enabled: false

RSpec/MessageSpies:
  Enabled: false

RSpec/MultipleExpectations:
  Max: 3

RSpec/SubjectStub:
  Enabled: false

Style/BlockDelimiters:
  Enabled: true
  EnforcedStyle: line_count_based
  BracesRequiredMethods:
    - 'let'
    - 'subject'

Style/Documentation:
  Enabled: false

Style/EmptyMethod:
  EnforcedStyle: expanded

# We can ignore this small performance improvement.
Style/FrozenStringLiteralComment:
  Enabled: false

# We like to use the hash rocket in rake files.
Style/HashSyntax:
  Exclude:
    - 'Rakefile'

# We are not going to optimize by freezing strings.
Style/MutableConstant:
  Enabled: false

# No need to mention StandardError.
Style/RescueStandardError:
  EnforcedStyle: implicit

Style/SlicingWithRange:
  Enabled: false

# We'll just use double quotes everywhere.
Style/StringLiterals:
  EnforcedStyle: double_quotes

# I prefer not to use %i or %I for an array of symbols.
Style/SymbolArray:
  Enabled: false

# I prefer not to use %w or %W for an array of words.
Style/WordArray:
  Enabled: false

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tdc-0.4.0 .rubocop.yml
tdc-0.3.9 .rubocop.yml
tdc-0.3.8 .rubocop.yml
tdc-0.3.7 .rubocop.yml
tdc-0.3.6.1 .rubocop.yml