1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-29 01:44:39 +02:00
goreleaser/.golangci.yaml
Carlos Alexandro Becker 703578a767
build: add depguard
2023-06-05 17:47:54 +00:00

33 lines
519 B
YAML

run:
go: "1.20"
timeout: 5m
linters:
enable:
- thelper
- gofumpt
- tparallel
- unconvert
- unparam
- wastedassign
- revive
- forbidigo
- tagliatelle
- misspell
- depguard
linters-settings:
forbidigo:
forbid:
- 'ioutil\.*'
tagliatelle:
case:
use-field-name: false
rules:
yaml: snake
json: snake
depguard:
rules:
main:
deny:
- pkg: "github.com/pkg/errors"
desc: "use stdlib instead"