.codeclimate.yml
version: "2" # required to adjust maintainability checks
checks:
file-lines:
config:
threshold: 700
method-lines:
config:
threshold: 200
return-statements:
config:
threshold: 15
similar-code:
config:
threshold: 300
identical-code:
config:
threshold: 150
exclude_patterns:
- "config/"
- "db/"
- "dist/"
- "features/"
- "**/node_modules/"
- "script/"
- "**/spec/"
- "**/test/"
- "**/tests/"
- "**/__tests__/"
- "**/*test.ts"
- "Tests/"
- "**/vendor/"
- "**/*_test.go"
- "**/*.d.ts"