ci: mirror lint config from `main`

pull/7785/head v0.12.7
Joe Chen 2022-05-05 16:18:01 +08:00
parent b0a902dcca
commit d06ba7e527
No known key found for this signature in database
GPG Key ID: 0BDE5280C552FF60
1 changed files with 5 additions and 0 deletions

View File

@ -1,4 +1,9 @@
linters-settings:
staticcheck:
checks: [
"all",
"-SA1019" # There are valid use cases of strings.Title
]
nakedret:
max-func-lines: 0 # Disallow any unnamed return statement