You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
paopao-ce/.golangci.yml

25 lines
440 B

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