Welcome to mirror list, hosted at ThFree Co, Russian Federation.

lint-yaml.sh « scripts - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c3bd7f2817e11b5f610c0390e66707e51a809b52 (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env bash

set -euo pipefail

if ! command -v yamllint > /dev/null; then
  echo "ERROR: yamllint is not installed. For more information, see https://yamllint.readthedocs.io/en/stable/index.html."
  exit 1
fi

yamllint --strict -f colored "$@"