mirror of
https://codeberg.org/superseriousbusiness/gotosocial.git
synced 2024-12-30 12:58:16 +03: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
|