1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-24 04:16:27 +02:00
goreleaser/.golangci.yaml

38 lines
594 B
YAML
Raw Normal View History

run:
go: "1.21"
2023-06-05 17:47:54 +00:00
timeout: 5m
linters:
enable:
- thelper
- gofumpt
- tparallel
- unconvert
- unparam
- wastedassign
- revive
- forbidigo
- tagliatelle
- misspell
2023-06-05 17:47:54 +00:00
- depguard
- testifylint
linters-settings:
2023-11-29 23:11:46 -03:00
staticcheck:
checks:
- all
- "-SA1019"
forbidigo:
forbid:
- 'ioutil\.*'
tagliatelle:
case:
use-field-name: false
rules:
yaml: snake
json: snake
2023-06-05 17:47:54 +00:00
depguard:
rules:
main:
deny:
- pkg: "github.com/pkg/errors"
desc: "use stdlib instead"