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
|
|
|
|
- execinquery
|
|
|
|
- exhaustive
|
|
|
|
- exportloopref
|
|
|
|
- forcetypeassert
|
|
|
|
- ginkgolinter
|
|
|
|
- gocheckcompilerdirectives
|
|
|
|
- gochecknoglobals
|
|
|
|
- gochecknoinits
|
|
|
|
- gocognit
|
|
|
|
- goconst
|
|
|
|
- gocritic
|
|
|
|
- gocyclo
|
|
|
|
- godot
|
2023-08-16 13:02:13 +00:00
|
|
|
# - godox
|
2023-02-08 09:16:01 +00:00
|
|
|
- goerr113
|
2022-05-03 20:03:37 +00:00
|
|
|
- gofmt
|
2023-02-08 09:16:01 +00:00
|
|
|
- gofumpt
|
|
|
|
- goheader
|
|
|
|
- goimports
|
|
|
|
- gomnd
|
|
|
|
- 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
|
2022-05-03 20:03:37 +00:00
|
|
|
fast: false
|
|
|
|
|
|
|
|
run:
|
|
|
|
timeout: 3m
|
|
|
|
|
|
|
|
linters-settings:
|
|
|
|
gofumpt:
|
|
|
|
extra-rules: true
|
2023-02-08 09:16:01 +00:00
|
|
|
lang-version: "1.20"
|
2023-08-11 10:27:16 +00:00
|
|
|
tagliatelle:
|
|
|
|
case:
|
|
|
|
rules:
|
|
|
|
json: snake
|