Skip to content

Commit

Permalink
Align with update golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kradalby committed Nov 13, 2021
1 parent 148437f commit 24e0c94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
uses: golangci/golangci-lint-action@v2
with:
version: latest
args: --timeout 30m

prettier-lint:
runs-on: ubuntu-latest
Expand Down
5 changes: 4 additions & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
run:
timeout: 5m
timeout: 10m

issues:
skip-dirs:
Expand All @@ -23,6 +23,7 @@ linters:
- exhaustivestruct
- tagliatelle
- godox
- ireturn

# We should strive to enable these:
- testpackage
Expand All @@ -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
Expand Down

0 comments on commit 24e0c94

Please sign in to comment.