1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-06 03:13:48 +02:00
goreleaser/.golangci.yaml

33 lines
519 B
YAML
Raw Normal View History

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