.codeclimate.yml
version: 2
engines:
eslint:
enabled: true
config: # nested prop is intentional
config: config/.eslintrc.json
checks:
argument-count:
config:
threshold: 5
complex-logic:
enabled: false
file-lines:
config:
threshold: 500
method-complexity:
enabled: false
method-count:
config:
threshold: 20
method-lines:
config:
threshold: 100
nested-control-flow:
config:
threshold: 5
return-statements:
config:
threshold: 4
similar-code:
enabled: false
identical-code:
enabled: false
ratings:
paths:
- "src/**/*"
exclude_paths:
- "config/"
- "dist/"
- "docs/"
- "test/"
- "typings/"