1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-20 19:09:07 +01:00

fix: remove unknown linters:

When running in CI, I obtained the following error:

```
  Running [/home/runner/golangci-lint-1.41.0-linux-amd64/golangci-lint run --out-format=github-actions --new-from-patch=/tmp/tmp-1795-28vaWZek2jfM/pull.patch --new=false --new-from-rev=] in [] ...
  level=error msg="Running error: unknown linters: 'ireturn,maintidx', run 'golangci-lint linters' to see the list of supported linters"
```
This commit is contained in:
Adrien Raffin-Caboisse 2022-05-16 14:17:31 +02:00
parent 0445f404ec
commit 522e892099
No known key found for this signature in database
GPG Key ID: 7FB60532DEBEAD6A

View File

@ -23,13 +23,11 @@ linters:
- exhaustivestruct - exhaustivestruct
- tagliatelle - tagliatelle
- godox - godox
- ireturn
# 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