.codeclimate.yml
version: "2"
checks:
argument-count:
enabled: true
config:
threshold: 4
complex-logic:
enabled: true
config:
threshold: 100
file-lines:
enabled: false
config:
threshold: 1250
method-complexity:
enabled: true
config:
threshold: 150
method-count:
enabled: true
config:
threshold: 20
method-lines:
enabled: false
config:
threshold: 1200
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:
rubocop:
enabled: true
eslint:
enabled: false
channel: eslint-8
exclude_patterns:
- "config/"
- "db/"
- "dist/"
- "features/"
- "**/node_modules/"
- "script/"
- "**/spec/"
- "**/test/"
- "**/tests/"
- "**/vendor/"
- "**/*.d.ts"