2022-05-02 20:43:40 +00:00
|
|
|
linters:
|
2023-02-08 09:14:25 +00:00
|
|
|
enable-all: false
|
|
|
|
disable-all: true
|
2022-05-02 20:43:40 +00:00
|
|
|
enable:
|
2023-02-08 09:14:25 +00:00
|
|
|
- errcheck
|
2022-05-02 20:43:40 +00:00
|
|
|
- gosimple
|
|
|
|
- govet
|
2023-02-08 09:14:25 +00:00
|
|
|
- ineffassign
|
2022-05-02 20:43:40 +00:00
|
|
|
- staticcheck
|
2023-02-08 09:14:25 +00:00
|
|
|
- typecheck
|
2022-05-02 20:43:40 +00:00
|
|
|
- unused
|
2023-02-08 09:14:25 +00:00
|
|
|
- asasalint
|
|
|
|
- asciicheck
|
|
|
|
- bidichk
|
|
|
|
- bodyclose
|
|
|
|
- containedctx
|
|
|
|
- contextcheck
|
|
|
|
- decorder
|
|
|
|
- dogsled
|
2022-05-02 20:43:40 +00:00
|
|
|
- dupl
|
2023-02-08 09:14:25 +00:00
|
|
|
- dupword
|
|
|
|
- durationcheck
|
|
|
|
- errchkjson
|
|
|
|
- errname
|
|
|
|
- errorlint
|
|
|
|
- exhaustive
|
|
|
|
- exportloopref
|
|
|
|
- forcetypeassert
|
|
|
|
- ginkgolinter
|
|
|
|
- gocheckcompilerdirectives
|
|
|
|
- gochecknoglobals
|
|
|
|
- gochecknoinits
|
|
|
|
- gocognit
|
|
|
|
- goconst
|
|
|
|
- gocritic
|
|
|
|
- gocyclo
|
|
|
|
- godot
|
|
|
|
- godox
|
2024-05-12 09:08:28 +00:00
|
|
|
- err113
|
2022-05-02 20:43:40 +00:00
|
|
|
- gofmt
|
2023-02-08 09:14:25 +00:00
|
|
|
- gofumpt
|
|
|
|
- goheader
|
|
|
|
- goimports
|
2024-05-12 09:08:28 +00:00
|
|
|
- mnd
|
2023-02-08 09:14:25 +00:00
|
|
|
- gomoddirectives
|
|
|
|
- gomodguard
|
|
|
|
- goprintffuncname
|
|
|
|
- gosec
|
|
|
|
- grouper
|
|
|
|
- importas
|
|
|
|
- interfacebloat
|
|
|
|
- ireturn
|
|
|
|
- lll
|
|
|
|
- loggercheck
|
|
|
|
- maintidx
|
|
|
|
- makezero
|
2022-05-02 20:43:40 +00:00
|
|
|
- misspell
|
2023-02-08 09:14:25 +00:00
|
|
|
- musttag
|
|
|
|
- nakedret
|
|
|
|
- nestif
|
|
|
|
- nilerr
|
|
|
|
- nilnil
|
|
|
|
- nlreturn
|
|
|
|
- noctx
|
|
|
|
- nolintlint
|
|
|
|
- nonamedreturns
|
|
|
|
- nosprintfhostport
|
|
|
|
- prealloc
|
|
|
|
- predeclared
|
|
|
|
- promlinter
|
|
|
|
- reassign
|
2022-05-02 20:43:40 +00:00
|
|
|
- revive
|
2023-02-08 09:14:25 +00:00
|
|
|
# - rowserrcheck
|
|
|
|
# - sqlclosecheck
|
|
|
|
# - structcheck
|
|
|
|
- stylecheck
|
|
|
|
- tagliatelle
|
|
|
|
- tenv
|
|
|
|
- testableexamples
|
|
|
|
- thelper
|
|
|
|
- tparallel
|
|
|
|
- unconvert
|
|
|
|
- unparam
|
|
|
|
- usestdlibvars
|
|
|
|
# - wastedassign
|
|
|
|
- whitespace
|
|
|
|
- wsl
|
2023-12-06 08:29:39 +00:00
|
|
|
- zerologlint
|
2022-05-02 20:43:40 +00:00
|
|
|
fast: false
|
|
|
|
|
|
|
|
run:
|
|
|
|
timeout: 3m
|
|
|
|
|
|
|
|
linters-settings:
|
|
|
|
gofumpt:
|
|
|
|
extra-rules: true
|