mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* golangci-lint: Fix timeout config; disable govet * CircleCI: Use official golangci-lint binary
26 lines
424 B
YAML
26 lines
424 B
YAML
run:
|
|
timeout: 10m
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- deadcode
|
|
- gofmt
|
|
- gosimple
|
|
- ineffassign
|
|
- structcheck
|
|
- typecheck
|
|
- unconvert
|
|
- unused
|
|
- varcheck
|
|
- goconst
|
|
- staticcheck
|
|
- errcheck
|
|
|
|
linters-settings:
|
|
goconst:
|
|
# minimal length of string constant, 3 by default
|
|
min-len: 5
|
|
# minimal occurrences count to trigger, 3 by default
|
|
min-occurrences: 5
|