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