.codeclimate.yml
version: '2'
checks:
argument-count:
enabled: false
config:
threshold: 4
complex-logic:
enabled: true
config:
threshold: 4
file-lines:
enabled: false
config:
threshold: 250
method-complexity:
enabled: false
config:
threshold: 5
method-count:
enabled: false
config:
threshold: 20
method-lines:
enabled: true
config:
threshold: 25
nested-control-flow:
enabled: true
config:
threshold: 4
return-statements:
enabled: true
config:
threshold: 4
similar-code:
enabled: false
config:
threshold: #language-specific defaults. overrides affect all languages.
identical-code:
enabled: false
config:
threshold: #language-specific defaults. overrides affect all languages.
plugins:
brakeman:
enabled: true
channel: brakeman-4-45
bundler-audit:
enabled: true
csslint:
enabled: false
duplication:
enabled: true
exclude_patterns:
- spec/**/*
flog:
enabled: true
exclude_patterns:
- db/**/*
- config/**/*
- spec/**/*
rubocop:
enabled: true
channel: rubocop-0-65
config:
file: '.rubocop.yml'
exclude_patterns:
- db/**/*
- bin/
reek:
enabled: true
channel: reek-5-3-1
config:
file: '.reek.yml'