Sha256: 0f320bd81c890b4bf0bfa610ac7ef9ed3f718728b1699c417d4fe01cb2a3eb13

Contents?: true

Size: 976 Bytes

Versions: 2

Compression:

Stored size: 976 Bytes

Contents

require:
  - rubocop-rspec
  - rubocop-rake
  - rubocop-performance

AllCops:
  # We bump the version to get new cops, so enable them by default
  NewCops: enable

# Two lines should fit next to each other in split view on a widescreen
Layout/LineLength:
  Max: 120

# We still have old-style rspec checks, so this triggers on functional comparisons there
Lint/Void:
  Exclude:
    - 'spec/**/*_spec.rb'

# RSpec has a lot of blocks, so ignore this rule there
Metrics/BlockLength:
  Exclude:
    - 'spec/**/*_spec.rb'

# I prefer to see the class name over "described_class"
RSpec/DescribedClass:
  EnforcedStyle: explicit

# I prefer groups for structure, so the defaults are a little too strict for me
RSpec/NestedGroups:
  Max: 4

# I prefer more verbose examples, so tend to use more lines than the defaults
RSpec/ExampleLength:
  Max: 20

# For strings I enjoy using %w[], but for symbols the %i[] syntax just does not click.
Style/SymbolArray:
  EnforcedStyle: brackets

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
groupie-0.4.1 .rubocop.yml
groupie-0.4.0 .rubocop.yml