.rubocop.yml
---
require:
- rubocop-performance
- rubocop-rails
- rubocop-rspec
AllCops:
NewCops: enable
Exclude:
- db/schema.rb
- script/**/*
- bin/**/*
- config/**/*
Layout/LineLength:
Max: 100
Lint/AmbiguousBlockAssociation:
Exclude:
- spec/**/*
Metrics/BlockLength:
Exclude:
- config/**/*
- spec/**/*
Metrics/MethodLength:
Max: 30
Metrics/AbcSize:
Max: 20
RSpec/ExampleLength:
Enabled: false
RSpec/MultipleExpectations:
Max: 5
Style/BlockDelimiters:
EnforcedStyle: semantic
AllowBracesOnProceduralOneLiners: true
Style/Documentation:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: true
Style/KeywordParametersOrder:
Enabled: false
Style/StringLiterals:
Enabled: true
EnforcedStyle: double_quotes
Style/SymbolArray:
Enabled: false
MinSize: 4