mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-05 10:02:47 +00: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
|