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