33 lines
416 B
YAML
33 lines
416 B
YAML
require: rubocop-rails
|
|
|
|
Rails:
|
|
Enabled: true
|
|
|
|
AllCops:
|
|
TargetRubyVersion: 2.6
|
|
Exclude:
|
|
- '**/*.jbuilder'
|
|
- 'node_modules/**/*'
|
|
- 'db/schema.rb'
|
|
|
|
Documentation:
|
|
Enabled: false
|
|
|
|
LineLength:
|
|
Max: 120
|
|
|
|
Style/RaiseArgs:
|
|
EnforcedStyle: compact
|
|
|
|
Metrics/AbcSize:
|
|
Enabled: false
|
|
|
|
Metrics/MethodLength:
|
|
Max: 25
|
|
Exclude:
|
|
- 'spec/**/*.rb'
|
|
|
|
Metrics/BlockLength:
|
|
Exclude:
|
|
- 'spec/**/*.rb'
|