2021-09-04 15:04:54 +02:00
|
|
|
linters-settings:
|
2022-11-02 17:49:03 +01:00
|
|
|
staticcheck:
|
|
|
|
checks: [
|
|
|
|
"all",
|
|
|
|
"-SA1019" # There are valid use cases of strings.Title
|
|
|
|
]
|
2021-09-04 15:04:54 +02: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-11-02 17:49:03 +01:00
|
|
|
- unparam
|