* Add `skip-pkg-cache` go `golangci-lint-action` See golangci/golangci-lint-action#677. * Increase `golangci-lint` timeout
20 lines
269 B
YAML
20 lines
269 B
YAML
---
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- "gofmt"
|
|
- "gosimple"
|
|
- "govet"
|
|
- "ineffassign"
|
|
- "makezero"
|
|
- "misspell"
|
|
- "nakedret"
|
|
- "nilerr"
|
|
- "staticcheck"
|
|
- "structcheck"
|
|
- "unconvert"
|
|
- "unused"
|
|
|
|
run:
|
|
timeout: '2m'
|