.rubocop.yml
AllCops:
NewCops: disable
TargetRubyVersion: 2.7
Exclude:
- "Guardfile"
- "Rakefile"
- "bin/**/*"
- "spec/dummy/**/*"
##################### Styles ##################################
Style/Documentation:
Enabled: false
Style/SymbolArray:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/ClassAndModuleChildren:
Exclude:
- "app/controllers/*_controller.rb"
- "app/controllers/**/*_controller.rb"
#################### Lint ##################################
Lint/AmbiguousBlockAssociation:
Enabled: false
##################### Metrics ##################################
Layout/LineLength:
Max: 110
Metrics/ClassLength:
Max: 200
Metrics/ModuleLength:
Max: 200
Exclude:
- "**/*_spec.rb"
Metrics/BlockLength:
Max: 50
Exclude:
- "**/*_spec.rb"