mirror of
https://github.com/gogs/gogs.git
synced 2025-05-31 11:42:13 +00:00
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
25 lines
420 B
YAML
25 lines
420 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:
|
|
- unused
|
|
- errcheck
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- staticcheck
|
|
- typecheck
|
|
- nakedret
|
|
- gofmt
|
|
- rowserrcheck
|
|
- unconvert
|
|
- goimports
|
|
- unparam
|