mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-22 19:56:39 +00:00
28 lines
468 B
YAML
28 lines
468 B
YAML
|
linters-settings:
|
||
|
staticcheck:
|
||
|
checks: [
|
||
|
"all",
|
||
|
"-SA1019" # There are valid use cases of strings.Title
|
||
|
]
|
||
|
nakedret:
|
||
|
max-func-lines: 0 # Disallow any unnamed return statement
|
||
|
|
||
|
linters:
|
||
|
enable:
|
||
|
- deadcode
|
||
|
- errcheck
|
||
|
- gosimple
|
||
|
- govet
|
||
|
- ineffassign
|
||
|
- staticcheck
|
||
|
- structcheck
|
||
|
- typecheck
|
||
|
- unused
|
||
|
- varcheck
|
||
|
- nakedret
|
||
|
- gofmt
|
||
|
- rowserrcheck
|
||
|
- unconvert
|
||
|
- goimports
|
||
|
- unparam
|