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:
parent
d0d088dee7
commit
b0bf4eb0cd
@ -15,6 +15,10 @@ linters:
|
||||
- misspell
|
||||
- depguard
|
||||
linters-settings:
|
||||
staticcheck:
|
||||
checks:
|
||||
- all
|
||||
- "-SA1019"
|
||||
forbidigo:
|
||||
forbid:
|
||||
- 'ioutil\.*'
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user