1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-27 01:33:39 +02:00
goreleaser/.golangci.yaml
Carlos Alexandro Becker c09c86cb39
build: disable appendAssign gocritic check
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-05-13 10:05:12 -03:00

49 lines
800 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
- nolintlint
linters-settings:
gocritic:
disabled-checks:
- appendAssign
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