Sha256: 0f2b8e7109ea53267676a536aa152172412abad504c70d18413b96a69420e00f

Contents?: true

Size: 1.64 KB

Versions: 4

Compression:

Stored size: 1.64 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

Naming/VariableNumber:
  Enabled: true
  EnforcedStyle: snake_case

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

4 entries across 4 versions & 1 rubygems

Version Path
tdc-0.4.3.1 .rubocop.yml
tdc-0.4.3 .rubocop.yml
tdc-0.4.2 .rubocop.yml
tdc-0.4.1 .rubocop.yml