You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-09-16 09:26:52 +02:00
build: add depguard
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
run:
|
||||
go: 1.20
|
||||
go: "1.20"
|
||||
timeout: 5m
|
||||
linters:
|
||||
enable:
|
||||
- thelper
|
||||
@@ -12,7 +13,7 @@ linters:
|
||||
- forbidigo
|
||||
- tagliatelle
|
||||
- misspell
|
||||
|
||||
- depguard
|
||||
linters-settings:
|
||||
forbidigo:
|
||||
forbid:
|
||||
@@ -23,3 +24,9 @@ linters-settings:
|
||||
rules:
|
||||
yaml: snake
|
||||
json: snake
|
||||
depguard:
|
||||
rules:
|
||||
main:
|
||||
deny:
|
||||
- pkg: "github.com/pkg/errors"
|
||||
desc: "use stdlib instead"
|
||||
|
Reference in New Issue
Block a user