Skip to content

Commit

Permalink
build: golangci config
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Nov 30, 2023
1 parent d0d088d commit b0bf4eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .golangci.yaml
Expand Up @@ -15,6 +15,10 @@ linters:
- misspell
- depguard
linters-settings:
staticcheck:
checks:
- all
- "-SA1019"
forbidigo:
forbid:
- 'ioutil\.*'
Expand Down
2 changes: 1 addition & 1 deletion Taskfile.yml
Expand Up @@ -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
Expand Down

0 comments on commit b0bf4eb

Please sign in to comment.