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

45 lines
729 B
YAML

run:
go: "1.22"
timeout: 5m
linters:
enable:
- copyloopvar
- thelper
- gofumpt
- bodyclose
- tparallel
- unconvert
- unparam
- wastedassign
- revive
- forbidigo
- tagliatelle
- misspell
- depguard
- testifylint
- gocritic
linters-settings:
staticcheck:
checks:
- all
- "-SA1019"
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"
testifylint:
enable-all: true
disable:
- error-is-as # false positive