1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-27 01:33:39 +02:00

build: golangci config

This commit is contained in:
Carlos Alexandro Becker 2023-11-29 23:11:46 -03:00
parent d0d088dee7
commit b0bf4eb0cd
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
2 changed files with 5 additions and 1 deletions

View File

@ -15,6 +15,10 @@ linters:
- misspell
- depguard
linters-settings:
staticcheck:
checks:
- all
- "-SA1019"
forbidigo:
forbid:
- 'ioutil\.*'

View File

@ -53,7 +53,7 @@ tasks:
lint:
desc: Lint the code with golangci-lint
cmds:
- golangci-lint run ./...
- golangci-lint run --config ./.golangci.yaml ./...
ci:
desc: Run all CI steps