mirror of
https://codeberg.org/superseriousbusiness/gotosocial.git
synced 2024-12-30 12:58:16 +03:00
49 lines
732 B
YAML
49 lines
732 B
YAML
|
linters:
|
||
|
enable-all: false
|
||
|
disable-all: true
|
||
|
fast: false
|
||
|
enable:
|
||
|
- bodyclose
|
||
|
- deadcode
|
||
|
- depguard
|
||
|
- dogsled
|
||
|
- dupl
|
||
|
- errcheck
|
||
|
- exportloopref
|
||
|
- exhaustive
|
||
|
- gochecknoinits
|
||
|
- goconst
|
||
|
- gocritic
|
||
|
- gocyclo
|
||
|
- gofmt
|
||
|
- goimports
|
||
|
- goprintffuncname
|
||
|
- gosec
|
||
|
- gosimple
|
||
|
- govet
|
||
|
- ineffassign
|
||
|
- lll
|
||
|
- misspell
|
||
|
- nakedret
|
||
|
- noctx
|
||
|
- nolintlint
|
||
|
- rowserrcheck
|
||
|
- staticcheck
|
||
|
- structcheck
|
||
|
- stylecheck
|
||
|
- typecheck
|
||
|
- unconvert
|
||
|
- unparam
|
||
|
- unused
|
||
|
- varcheck
|
||
|
- whitespace
|
||
|
- gofumpt
|
||
|
|
||
|
run:
|
||
|
timeout: 3m
|
||
|
|
||
|
linters-settings:
|
||
|
dupl:
|
||
|
# tokens count to trigger issue, 150 by default
|
||
|
threshold: 200
|