Uses `yamllint`. Also: - fix warning for existing YAML files: ``` [truthy] truthy value should be one of [false, true] ``` Closes #14650
14 lines
245 B
Bash
Executable File
14 lines
245 B
Bash
Executable File
#!/bin/sh
|
|
# Copyright (C) Viktor Szakats
|
|
#
|
|
# SPDX-License-Identifier: curl
|
|
|
|
set -eu
|
|
|
|
# shellcheck disable=SC2046
|
|
yamllint \
|
|
--format standard \
|
|
--strict \
|
|
--config-data "$(dirname "$0")/yamlcheck.yaml" \
|
|
$(git ls-files '*.yaml' '*.yml')
|