mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-22 09:15:50 +03:00
29 lines
459 B
YAML
29 lines
459 B
YAML
|
---
|
||
|
issues:
|
||
|
exclude-rules:
|
||
|
# syscall param structs will have unused fields in Go code.
|
||
|
- path: syscall.*.go
|
||
|
linters:
|
||
|
- structcheck
|
||
|
|
||
|
linters:
|
||
|
disable-all: true
|
||
|
enable:
|
||
|
- deadcode
|
||
|
- errcheck
|
||
|
- goimports
|
||
|
- gosimple
|
||
|
- govet
|
||
|
- ineffassign
|
||
|
- misspell
|
||
|
- staticcheck
|
||
|
- structcheck
|
||
|
- typecheck
|
||
|
- unused
|
||
|
- varcheck
|
||
|
|
||
|
# Could be enabled later:
|
||
|
# - gocyclo
|
||
|
# - maligned
|
||
|
# - gosec
|