.rubocop.yml
require:
- rubocop-performance
- rubocop-rake
- rubocop-rspec
AllCops:
Exclude:
- bin/*
- vendor/**/*
- lib/story_key/data.rb
NewCops: enable
TargetRubyVersion: 3.2.0
Gemspec/RequireMFA:
Enabled: false
Layout/EmptyLineAfterGuardClause:
Enabled: false
Layout/EmptyLineAfterMagicComment:
Enabled: false
Layout/LineLength:
Max: 100
Metrics/BlockLength:
Exclude:
- spec/**/*
- '*.gemspec'
- rakelib/*
Metrics/ClassLength:
Max: 250
Metrics/ModuleLength:
Max: 250
RSpec/EmptyExampleGroup:
Enabled: false
RSpec/ExampleLength:
Exclude:
- spec/features/**/*
RSpec/MultipleExpectations:
Max: 4
Exclude:
- spec/features/**/*
RSpec/MultipleMemoizedHelpers:
Enabled: false
RSpec/NestedGroups:
Max: 4
Style/ClassAndModuleChildren:
Enabled: false
Style/Documentation:
Enabled: false