mirror of https://github.com/rocboss/paopao-ce
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.
25 lines
440 B
25 lines
440 B
2 years ago
|
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
|