Fix CodeClimate duplication smells
by extracting one http helper method and increasing the threshold for duplication issues.
This commit is contained in:

committed by
Sebastian Serth

parent
7ac08b83d0
commit
97a2311a74
@ -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"
|
||||
|
Reference in New Issue
Block a user