mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-20 19:09:07 +01:00
fix: revert previous commit and add exclusion of linter
This commit is contained in:
parent
522e892099
commit
844ad15109
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@ -26,8 +26,6 @@ jobs:
|
|||||||
if: steps.changed-files.outputs.any_changed == 'true'
|
if: steps.changed-files.outputs.any_changed == 'true'
|
||||||
uses: golangci/golangci-lint-action@v2
|
uses: golangci/golangci-lint-action@v2
|
||||||
with:
|
with:
|
||||||
version: v1.41.0
|
|
||||||
|
|
||||||
# Only block PRs on new problems.
|
# Only block PRs on new problems.
|
||||||
# If this is not enabled, we will end up having PRs
|
# If this is not enabled, we will end up having PRs
|
||||||
# blocked because new linters has appared and other
|
# blocked because new linters has appared and other
|
||||||
|
@ -23,11 +23,14 @@ linters:
|
|||||||
- exhaustivestruct
|
- exhaustivestruct
|
||||||
- tagliatelle
|
- tagliatelle
|
||||||
- godox
|
- godox
|
||||||
|
- ireturn
|
||||||
|
- execinquery
|
||||||
|
|
||||||
# We should strive to enable these:
|
# We should strive to enable these:
|
||||||
- wrapcheck
|
- wrapcheck
|
||||||
- dupl
|
- dupl
|
||||||
- makezero
|
- makezero
|
||||||
|
- maintidx
|
||||||
|
|
||||||
# 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
|
||||||
|
Loading…
Reference in New Issue
Block a user