mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-07 12:52:52 -05:00
Align with update golangci-lint
This commit is contained in:
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
|
||||||
|
|||||||
Reference in New Issue
Block a user