mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-01-25 20:59:28 +01:00
Sometimes golangci-lint timesout when running in CI. Bump the timeout from 2 minutes to 5 minutes to reduce flakey CI failures. ref: https://golangci-lint.run/usage/configuration/#run-configurationhttps://golangci-lint.run/usage/configuration/#run-configuration
19 lines
250 B
YAML
19 lines
250 B
YAML
run:
|
|
timeout: 5m
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- gofmt
|
|
- gofumpt
|
|
- gosimple
|
|
- gocyclo
|
|
- misspell
|
|
- govet
|
|
|
|
linters-settings:
|
|
gofumpt:
|
|
extra-rules: true
|
|
goimports:
|
|
local-prefixes: sigs.k8s.io/descheduler
|