mirror of
https://github.com/gogs/gogs.git
synced 2025-05-31 11:42:13 +00:00
ci: mirror lint config from main
This commit is contained in:
parent
b0a902dcca
commit
d06ba7e527
@ -1,4 +1,9 @@
|
|||||||
linters-settings:
|
linters-settings:
|
||||||
|
staticcheck:
|
||||||
|
checks: [
|
||||||
|
"all",
|
||||||
|
"-SA1019" # There are valid use cases of strings.Title
|
||||||
|
]
|
||||||
nakedret:
|
nakedret:
|
||||||
max-func-lines: 0 # Disallow any unnamed return statement
|
max-func-lines: 0 # Disallow any unnamed return statement
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user