mirror of
https://github.com/goreleaser/goreleaser.git
synced 2024-12-31 01:53:50 +02:00
f0d0cac469
update to go 1.21 --------- Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
33 lines
519 B
YAML
33 lines
519 B
YAML
run:
|
|
go: "1.21"
|
|
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"
|