mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-27 14:16:39 +00:00
31 lines
399 B
YAML
31 lines
399 B
YAML
|
run:
|
||
|
deadline: 2m
|
||
|
|
||
|
linters:
|
||
|
disable-all: true
|
||
|
enable:
|
||
|
- misspell
|
||
|
- structcheck
|
||
|
- govet
|
||
|
- staticcheck
|
||
|
- deadcode
|
||
|
- errcheck
|
||
|
- varcheck
|
||
|
- unparam
|
||
|
- ineffassign
|
||
|
- nakedret
|
||
|
- gocyclo
|
||
|
- dupl
|
||
|
- goimports
|
||
|
- revive
|
||
|
- gosec
|
||
|
- gosimple
|
||
|
- typecheck
|
||
|
- unused
|
||
|
|
||
|
linters-settings:
|
||
|
gofmt:
|
||
|
simplify: true
|
||
|
dupl:
|
||
|
threshold: 600
|