1
0
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:
Carlos Alexandro Becker
2023-06-05 17:47:54 +00:00
parent 0e92d1dae2
commit 703578a767

View File

@@ -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"