grafana/grafana-mixin/scripts/lint.sh
idafurjes e20766146a
Upgrade build-container to version 1.4.8 (#42373)
* Upgrade build-container to version 1.4.8

* disable lint of mixin

Co-authored-by: Ying WANG <ying.wang@grafana.com>
2021-11-29 12:03:16 +01:00

14 lines
270 B
Bash
Executable File

#!/bin/bash
set -eo pipefail
cd "$(dirname "$0")"/..
. scripts/common.sh
find . -name 'vendor' -prune -o -name '*.libsonnet' -print -o -name '*.jsonnet' -print | \
while read f; do \
${JSONNET_FMT} "$f" | diff -u "$f" -; \
done
#mixtool lint mixin.libsonnet