mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-26 21:56:39 +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
|