ci: lint against dupl (#9357)

This lint rule should help us keep Go code redundancy under control.
This commit is contained in:
Ammar Bandukwala
2023-08-27 11:42:51 -05:00
committed by GitHub
parent 61634d482f
commit 4a140536e1
2 changed files with 8 additions and 14 deletions
+5
View File
@@ -2,6 +2,10 @@
# Over time we should try tightening some of these.
linters-settings:
dupl:
# goal: 100
threshold: 412
exhaustruct:
include:
# Gradually extend to cover more of the codebase.
@@ -268,3 +272,4 @@ linters:
- typecheck
- unconvert
- unused
- dupl