Align with update golangci-lint

This commit is contained in:
Kristoffer Dalby 2021-11-13 09:11:03 +00:00
parent 148437f716
commit 24e0c944b1
2 changed files with 4 additions and 2 deletions

View file

@ -13,7 +13,6 @@ jobs:
uses: golangci/golangci-lint-action@v2 uses: golangci/golangci-lint-action@v2
with: with:
version: latest version: latest
args: --timeout 30m
prettier-lint: prettier-lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View file

@ -1,6 +1,6 @@
--- ---
run: run:
timeout: 5m timeout: 10m
issues: issues:
skip-dirs: skip-dirs:
@ -23,6 +23,7 @@ linters:
- exhaustivestruct - exhaustivestruct
- tagliatelle - tagliatelle
- godox - godox
- ireturn
# We should strive to enable these: # We should strive to enable these:
- testpackage - testpackage
@ -47,6 +48,8 @@ linters:
- goconst - goconst
- unconvert - unconvert
- exhaustive - exhaustive
- varnamelen
- nilnil
# We might want to enable this, but it might be a lot of work # We might want to enable this, but it might be a lot of work
- cyclop - cyclop