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
|
||||
image: golangci/golangci-lint
|
||||
script:
|
||||
- golangci-lint run --exclude-dirs pkg/paths
|
||||
- golangci-lint run
|
||||
|
||||
packer:
|
||||
stage: lint
|
||||
|
|
|
|||
|
|
@ -1,5 +1,13 @@
|
|||
---
|
||||
|
||||
linters-settings:
|
||||
staticcheck:
|
||||
checks: ["all", "-SA1019" ]
|
||||
version: "2"
|
||||
linters:
|
||||
settings:
|
||||
staticcheck:
|
||||
checks:
|
||||
- all
|
||||
- -SA1019
|
||||
- -ST1000
|
||||
exclusions:
|
||||
paths:
|
||||
- pkg/paths
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue