Fix CodeClimate duplication smells

by extracting one http helper method and
increasing the threshold for duplication issues.
This commit is contained in:
Maximilian Paß
2022-05-29 21:41:24 +02:00
committed by Sebastian Serth
parent 7ac08b83d0
commit 97a2311a74
2 changed files with 25 additions and 10 deletions

View File

@ -1,5 +1,13 @@
version: "2"
checks:
similar-code:
config:
threshold: 110 # Golang default: 100
identical-code:
config:
threshold: 110 # Golang default: 100
plugins:
golint:
enabled: false
@ -10,4 +18,4 @@ plugins:
exclude_patterns:
- "**/*_mock.go"
- "**/*_test.go"
- "**/*_test.go"