You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A compact command line linting tool for validating YAML files, using the parsing facility of
the Symfony Yaml Component.
Usage
usage: yaml-lint [options] [input source]
input source Path to file(s), or "-" to read from standard input
-q, --quiet Restrict output to syntax errors
-h, --help Display this help
-V, --version Display application version
Install
Composer
To get started using yaml-lint in a project, install it with Composer:
composer require --dev j13k/yaml-lint
It can then be run from the project's vendor/bin directory.
To set up yaml-lint globally, install it in the Composer home directory:
composer global require j13k/yaml-lint
It can then be run from the bin directory of Composer home (typically ~/.composer/vendor/bin).
Binary
A binary edition , yaml-lint.phar, is available for download
with each release. This embeds the latest stable version of the Symfony
Yaml component that is current at the time of the release.
The binary can be conveniently installed using PHIVE: