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