2022-05-16 15:37:25 +02:00
|
|
|
# https://docs.codeclimate.com/docs/default-analysis-configuration
|
|
|
|
# https://docs.codeclimate.com/docs/advanced-configuration
|
|
|
|
|
|
|
|
version: '2'
|
|
|
|
checks:
|
|
|
|
argument-count:
|
|
|
|
config:
|
|
|
|
threshold: 6
|
|
|
|
complex-logic:
|
|
|
|
config:
|
|
|
|
threshold: 10
|
|
|
|
file-lines:
|
|
|
|
config:
|
|
|
|
threshold: 500
|
|
|
|
method-complexity:
|
|
|
|
config:
|
|
|
|
threshold: 10
|
|
|
|
method-lines:
|
|
|
|
config:
|
|
|
|
threshold: 250
|
|
|
|
# https://docs.codeclimate.com/docs/default-analysis-configuration#per-language-mass-threshold-defaults
|
|
|
|
similar-code:
|
|
|
|
config:
|
2022-05-23 13:25:03 +02:00
|
|
|
threshold: 55
|
2022-05-16 15:37:25 +02:00
|
|
|
identical-code:
|
|
|
|
config:
|
2022-05-23 13:25:03 +02:00
|
|
|
threshold: 55
|
2022-05-16 15:37:25 +02:00
|
|
|
|
|
|
|
exclude_patterns:
|
|
|
|
- 'config/'
|
|
|
|
- 'db/'
|
|
|
|
- 'dist/'
|
|
|
|
- 'features/'
|
|
|
|
- '**/node_modules/'
|
|
|
|
- 'script/'
|
|
|
|
- '**/spec/'
|
|
|
|
- '**/test/'
|
|
|
|
- '**/tests/'
|
|
|
|
- 'Tests/'
|
|
|
|
- '**/vendor/'
|
|
|
|
- '**/*_test.go'
|
|
|
|
- '**/*.d.ts'
|
2022-05-23 13:25:03 +02:00
|
|
|
- '**/@types/'
|
|
|
|
- '**/_types.*'
|
2022-12-01 10:09:40 +01:00
|
|
|
- '**/*.stories.*'
|
|
|
|
- '**/*.test.*'
|
2022-05-23 13:25:03 +02:00
|
|
|
- '.storybook/'
|
|
|
|
- '.jest/'
|