mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-25 19:52:11 +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
|