2021-12-07 13:31:39 +01:00
|
|
|
linters-settings:
|
2022-09-28 19:30:40 +02:00
|
|
|
staticcheck:
|
|
|
|
checks: [
|
|
|
|
"all",
|
|
|
|
"-SA1019" # There are valid use cases of strings.Title
|
|
|
|
]
|
2021-12-07 13:31:39 +01:00
|
|
|
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
|
2022-09-28 19:30:40 +02:00
|
|
|
- unparam
|