1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

More codeclimate excludes (#1433)

* more codeclimate excludes

* increase similar-code & identical-code thresholds
This commit is contained in:
Matthias Kretschmann 2022-05-23 12:25:03 +01:00 committed by GitHub
parent f0b22ee8e4
commit 9027fc1307
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,10 +21,10 @@ checks:
# https://docs.codeclimate.com/docs/default-analysis-configuration#per-language-mass-threshold-defaults # https://docs.codeclimate.com/docs/default-analysis-configuration#per-language-mass-threshold-defaults
similar-code: similar-code:
config: config:
threshold: 50 threshold: 55
identical-code: identical-code:
config: config:
threshold: 50 threshold: 55
exclude_patterns: exclude_patterns:
- 'config/' - 'config/'
@ -40,5 +40,9 @@ exclude_patterns:
- '**/vendor/' - '**/vendor/'
- '**/*_test.go' - '**/*_test.go'
- '**/*.d.ts' - '**/*.d.ts'
- '**/@types/'
- '**/_types.*'
- '**/*.stories.tsx' - '**/*.stories.tsx'
- '**/*.test.tsx' - '**/*.test.tsx'
- '.storybook/'
- '.jest/'