mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
Matthias Kretschmann
9027fc1307
* more codeclimate excludes * increase similar-code & identical-code thresholds
49 lines
927 B
YAML
49 lines
927 B
YAML
# 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:
|
|
threshold: 55
|
|
identical-code:
|
|
config:
|
|
threshold: 55
|
|
|
|
exclude_patterns:
|
|
- 'config/'
|
|
- 'db/'
|
|
- 'dist/'
|
|
- 'features/'
|
|
- '**/node_modules/'
|
|
- 'script/'
|
|
- '**/spec/'
|
|
- '**/test/'
|
|
- '**/tests/'
|
|
- 'Tests/'
|
|
- '**/vendor/'
|
|
- '**/*_test.go'
|
|
- '**/*.d.ts'
|
|
- '**/@types/'
|
|
- '**/_types.*'
|
|
- '**/*.stories.tsx'
|
|
- '**/*.test.tsx'
|
|
- '.storybook/'
|
|
- '.jest/'
|