mirror of
https://github.com/grafana/grafana.git
synced 2024-11-28 03:34:15 -06:00
3a362b758a
* CI: Upgrade build image to use golangci-lint 1.30.0 Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * Upgrade Debian base image Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * Makefile: Upgrade golangci-lint Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
16 lines
451 B
Bash
Executable File
16 lines
451 B
Bash
Executable File
#!/bin/bash
|
|
set -eo pipefail
|
|
|
|
SCRIPT=${1:-revive}
|
|
|
|
$SCRIPT \
|
|
-formatter stylish \
|
|
-config scripts/go/configs/revive-strict.toml \
|
|
-exclude ./pkg/plugins/backendplugin/pluginextensionv2/... \
|
|
./pkg/services/alerting/... \
|
|
./pkg/services/provisioning/datasources/... \
|
|
./pkg/services/provisioning/dashboards/... \
|
|
./pkg/services/provisioning/notifiers/... \
|
|
./pkg/services/provisioning/values/... \
|
|
./pkg/plugins/backendplugin/...
|