mirror of
https://codeberg.org/superseriousbusiness/gotosocial.git
synced 2024-12-25 18:38:17 +03:00
78 lines
1.3 KiB
YAML
78 lines
1.3 KiB
YAML
run:
|
|
tests: false
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- asciicheck
|
|
- bidichk
|
|
- bodyclose
|
|
- containedctx
|
|
- contextcheck
|
|
- decorder
|
|
# Disabling depguard as there is no guarded list of imports
|
|
# - depguard
|
|
- dogsled
|
|
- dupl
|
|
- durationcheck
|
|
- errcheck
|
|
- errchkjson
|
|
- errname
|
|
- errorlint
|
|
- exportloopref
|
|
- forbidigo
|
|
- funlen
|
|
# Don't need gci and goimports
|
|
# - gci
|
|
- gochecknoglobals
|
|
- gochecknoinits
|
|
- gocognit
|
|
- goconst
|
|
- gocritic
|
|
- gocyclo
|
|
- godox
|
|
- gofmt
|
|
- gofumpt
|
|
- goheader
|
|
- goimports
|
|
- mnd
|
|
- gomoddirectives
|
|
- gomodguard
|
|
- goprintffuncname
|
|
- gosec
|
|
- gosimple
|
|
- govet
|
|
- grouper
|
|
- importas
|
|
- ineffassign
|
|
- lll
|
|
- maintidx
|
|
- makezero
|
|
- misspell
|
|
- nakedret
|
|
- nilerr
|
|
- nilnil
|
|
- noctx
|
|
- nolintlint
|
|
- paralleltest
|
|
- prealloc
|
|
- predeclared
|
|
- promlinter
|
|
- revive
|
|
- rowserrcheck
|
|
- sqlclosecheck
|
|
- staticcheck
|
|
- stylecheck
|
|
- tagliatelle
|
|
- tenv
|
|
- testpackage
|
|
- thelper
|
|
- tparallel
|
|
# FIXME: doesn't support 1.23 yet
|
|
# - typecheck
|
|
- unconvert
|
|
- unparam
|
|
- unused
|
|
- varnamelen
|
|
- wastedassign
|
|
- whitespace
|