fix: revert previous commit and add exclusion of linter

This commit is contained in:
Adrien Raffin-Caboisse 2022-05-16 14:29:05 +02:00
parent 522e892099
commit 844ad15109
No known key found for this signature in database
GPG key ID: 7FB60532DEBEAD6A
2 changed files with 3 additions and 2 deletions

View file

@ -26,8 +26,6 @@ jobs:
if: steps.changed-files.outputs.any_changed == 'true'
uses: golangci/golangci-lint-action@v2
with:
version: v1.41.0
# Only block PRs on new problems.
# If this is not enabled, we will end up having PRs
# blocked because new linters has appared and other

View file

@ -23,11 +23,14 @@ linters:
- exhaustivestruct
- tagliatelle
- godox
- ireturn
- execinquery
# We should strive to enable these:
- wrapcheck
- dupl
- makezero
- maintidx
# We might want to enable this, but it might be a lot of work
- cyclop