1053e27dc5
* upgrade the actions for checkout and golang * delete the unstale windows golanglint-ci * use relative path * Update golangci-lint setup for Windows workflow * Remove Windows smoke test workflow
34 lines
533 B
YAML
34 lines
533 B
YAML
version: "2"
|
|
linters:
|
|
default: none
|
|
enable:
|
|
- copyloopvar
|
|
- errcheck
|
|
- ineffassign
|
|
- misspell
|
|
- revive
|
|
- staticcheck
|
|
- testifylint
|
|
- unconvert
|
|
- unused
|
|
exclusions:
|
|
generated: lax
|
|
presets:
|
|
- comments
|
|
- common-false-positives
|
|
- legacy
|
|
- std-error-handling
|
|
paths:
|
|
- third_party$
|
|
- builtin$
|
|
- examples$
|
|
formatters:
|
|
enable:
|
|
- goimports
|
|
exclusions:
|
|
generated: lax
|
|
paths:
|
|
- third_party$
|
|
- builtin$
|
|
- examples$
|