mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 16:52:54 +08:00
CircleCI: Run golangci-lint in two batches (#23021)
* CircleCI: Run golangci-lint in two batches Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * CircleCI: Fix typo Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * Chore: adds fallback value to time series class * Chore: changes fallback value from null to empty string in FilterInput component * Update public/app/core/time_series2.ts Co-Authored-By: Hugo Häggmark <hugo.haggmark@grafana.com> * Chore: updates || to ?? operators Co-authored-by: Lukas Siatka <lukasz.siatka@grafana.com> Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
This commit is contained in:
12
scripts/go/configs/ci/.golangci.yml
Normal file
12
scripts/go/configs/ci/.golangci.yml
Normal file
@ -0,0 +1,12 @@
|
||||
run:
|
||||
timeout: 10m
|
||||
|
||||
linters:
|
||||
disable-all: true
|
||||
|
||||
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
|
Reference in New Issue
Block a user