2024-05-23 10:19:55 -05:00
|
|
|
run:
|
|
|
|
|
timeout: 5m
|
|
|
|
|
|
|
|
|
|
linters-settings:
|
|
|
|
|
gocritic:
|
|
|
|
|
enabled-tags:
|
2024-05-23 10:52:35 -05:00
|
|
|
- performance
|
2024-05-23 10:19:55 -05:00
|
|
|
gosec:
|
|
|
|
|
excludes:
|
2024-05-23 10:52:35 -05:00
|
|
|
- G108
|
2024-05-23 10:19:55 -05:00
|
|
|
lll:
|
|
|
|
|
line-length: 200
|
|
|
|
|
|
|
|
|
|
misspell:
|
|
|
|
|
locale: US
|
|
|
|
|
staticcheck:
|
|
|
|
|
# Select the Go version to target. The default is '1.13'.
|
2024-05-23 10:52:35 -05:00
|
|
|
go: "1.22"
|
2024-05-23 10:19:55 -05:00
|
|
|
|
|
|
|
|
linters:
|
|
|
|
|
disable-all: true
|
|
|
|
|
enable:
|
|
|
|
|
- errcheck
|
|
|
|
|
- exportloopref
|
|
|
|
|
- forcetypeassert
|
|
|
|
|
- gocritic
|
|
|
|
|
- goconst
|
|
|
|
|
- godot
|
|
|
|
|
- gofmt
|
|
|
|
|
- gofumpt
|
|
|
|
|
- goimports
|
|
|
|
|
- gosec
|
|
|
|
|
- gosimple
|
|
|
|
|
- govet
|
|
|
|
|
- importas
|
|
|
|
|
- ineffassign
|
|
|
|
|
- misspell
|
|
|
|
|
- revive # replacement for golint
|
|
|
|
|
- staticcheck
|
|
|
|
|
- typecheck
|
|
|
|
|
- unused
|
|
|
|
|
- whitespace
|