mirror of
https://codeberg.org/superseriousbusiness/gotosocial.git
synced 2024-12-21 08:31:53 +03:00
79 lines
1.3 KiB
YAML
79 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
|