mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-26 08:53:05 +00:00
Align with update golangci-lint
This commit is contained in:
parent
148437f716
commit
24e0c944b1
2 changed files with 4 additions and 2 deletions
1
.github/workflows/lint.yml
vendored
1
.github/workflows/lint.yml
vendored
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue