Fix linter config
This commit is contained in:
+17
-1
@@ -3,12 +3,28 @@ version: "2"
|
|||||||
run:
|
run:
|
||||||
timeout: 5m
|
timeout: 5m
|
||||||
|
|
||||||
|
exclusions:
|
||||||
|
generated: lax
|
||||||
|
presets:
|
||||||
|
- comments
|
||||||
|
- common-false-positives
|
||||||
|
- std-error-handling
|
||||||
|
paths:
|
||||||
|
- third_party$
|
||||||
|
- builtin$
|
||||||
|
- examples$
|
||||||
|
|
||||||
formatters:
|
formatters:
|
||||||
enable:
|
enable:
|
||||||
- gofmt
|
- gofmt
|
||||||
- goimports
|
- goimports
|
||||||
|
|
||||||
exclusions:
|
settings:
|
||||||
|
goimports:
|
||||||
|
local-prefixes:
|
||||||
|
- crm2
|
||||||
|
|
||||||
|
exclusions:
|
||||||
generated: lax
|
generated: lax
|
||||||
paths:
|
paths:
|
||||||
- third_party$
|
- third_party$
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
gobuilder: "mirror.gcr.io/golang:1.25-alpine",
|
gobuilder: "golang:1.25-alpine",
|
||||||
golangcilint: "mirror.gcr.io/golangci/golangci-lint:v2.4-alpine",
|
golangcilint: "golangci/golangci-lint:v2.4-alpine",
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user