2025-04-13 01:04:04 +08:00
|
|
|
version: "2"
|
2022-07-09 22:17:41 +08:00
|
|
|
run:
|
2024-09-30 00:23:19 +08:00
|
|
|
go: 1.23
|
2022-07-09 22:17:41 +08:00
|
|
|
concurrency: 4
|
|
|
|
timeout: 10m
|
|
|
|
linters:
|
2025-04-13 01:04:04 +08:00
|
|
|
default: none
|
2022-07-09 22:17:41 +08:00
|
|
|
enable:
|
2024-09-30 00:23:19 +08:00
|
|
|
- asasalint
|
2022-07-09 22:17:41 +08:00
|
|
|
- asciicheck
|
|
|
|
- gomodguard
|
|
|
|
- goprintffuncname
|
|
|
|
- govet
|
|
|
|
- ineffassign
|
|
|
|
- misspell
|
|
|
|
- nakedret
|
|
|
|
- nolintlint
|
|
|
|
- prealloc
|
2024-09-30 00:23:19 +08:00
|
|
|
- reassign
|
2022-07-09 22:17:41 +08:00
|
|
|
- staticcheck
|
|
|
|
- unconvert
|
|
|
|
- unused
|
|
|
|
- whitespace
|
2025-04-13 01:04:04 +08:00
|
|
|
formatters:
|
|
|
|
enable:
|
|
|
|
- gofmt
|
|
|
|
- goimports
|