Align with update golangci-lint
This commit is contained in:
parent
148437f716
commit
24e0c944b1
2 changed files with 4 additions and 2 deletions
1
.github/workflows/lint.yml
vendored
1
.github/workflows/lint.yml
vendored
|
@ -13,7 +13,6 @@ jobs:
|
|||
uses: golangci/golangci-lint-action@v2
|
||||
with:
|
||||
version: latest
|
||||
args: --timeout 30m
|
||||
|
||||
prettier-lint:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
run:
|
||||
timeout: 5m
|
||||
timeout: 10m
|
||||
|
||||
issues:
|
||||
skip-dirs:
|
||||
|
@ -23,6 +23,7 @@ linters:
|
|||
- exhaustivestruct
|
||||
- tagliatelle
|
||||
- godox
|
||||
- ireturn
|
||||
|
||||
# We should strive to enable these:
|
||||
- testpackage
|
||||
|
@ -47,6 +48,8 @@ linters:
|
|||
- goconst
|
||||
- unconvert
|
||||
- exhaustive
|
||||
- varnamelen
|
||||
- nilnil
|
||||
|
||||
# We might want to enable this, but it might be a lot of work
|
||||
- cyclop
|
||||
|
|
Loading…
Reference in a new issue