chore: update golangci-lint to v2
This commit is contained in:
parent
984cf28e61
commit
d00f204cc5
2 changed files with 12 additions and 4 deletions
|
|
@ -30,7 +30,7 @@ golangci-lint:
|
||||||
stage: lint
|
stage: lint
|
||||||
image: golangci/golangci-lint
|
image: golangci/golangci-lint
|
||||||
script:
|
script:
|
||||||
- golangci-lint run --exclude-dirs pkg/paths
|
- golangci-lint run
|
||||||
|
|
||||||
packer:
|
packer:
|
||||||
stage: lint
|
stage: lint
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,13 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
linters-settings:
|
version: "2"
|
||||||
staticcheck:
|
linters:
|
||||||
checks: ["all", "-SA1019" ]
|
settings:
|
||||||
|
staticcheck:
|
||||||
|
checks:
|
||||||
|
- all
|
||||||
|
- -SA1019
|
||||||
|
- -ST1000
|
||||||
|
exclusions:
|
||||||
|
paths:
|
||||||
|
- pkg/paths
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue