mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2024-12-19 17:23:27 +00:00
40 lines
671 B
YAML
40 lines
671 B
YAML
|
run:
|
||
|
timeout: 5m
|
||
|
linters:
|
||
|
enable:
|
||
|
- asciicheck
|
||
|
- depguard
|
||
|
- dogsled
|
||
|
- durationcheck
|
||
|
- errcheck
|
||
|
- errorlint
|
||
|
- exportloopref
|
||
|
- gci
|
||
|
- gofmt
|
||
|
- goimports
|
||
|
- gosec
|
||
|
- misspell
|
||
|
- nakedret
|
||
|
- nilerr
|
||
|
- nolintlint
|
||
|
- revive
|
||
|
- wastedassign
|
||
|
issues:
|
||
|
exclude-rules:
|
||
|
- linters:
|
||
|
- structcheck
|
||
|
- unused
|
||
|
text: "`data` is unused"
|
||
|
- linters:
|
||
|
- staticcheck
|
||
|
text: "SA1019:"
|
||
|
- linters:
|
||
|
- revive
|
||
|
text: "var-naming:"
|
||
|
- linters:
|
||
|
- revive
|
||
|
text: "exported:"
|
||
|
- path: _test\.go
|
||
|
linters:
|
||
|
- gosec # security is not make sense in tests
|