mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
ci: lint against dupl (#9357)
This lint rule should help us keep Go code redundancy under control.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user