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