Feature: #104973 - Activate the shipped LintYaml executable for TYPO3

See forge#104973

Description

The typo3 executable received a new command lint:yaml to ease and encourage linting of YAML files before deploying to production and therefore avoid failures.

Usage as follows:

# Validates a single file
bin/typo3 lint:yaml path/to/file.yaml

# Validates multiple files
bin/typo3 lint:yaml path/to/file1.yaml path/to/file2.yaml

# Validates all files in a directory (also in sub-directories)
bin/typo3 lint:yaml path/to/directory

# Validates all files in multiple directories (also in sub-directories)
bin/typo3 lint:yaml path/to/directory1 path/to/directory2

# Exclude one or more files from linting
bin/typo3 lint:yaml path/to/directory --exclude=path/to/directory/foo.yaml --exclude=path/to/directory/bar.yaml

# Show help
bin/typo3 lint:yaml --help
Copied!

The help argument will list possible usage elements.

Impact

Integrate easy made linting of YAML files from Core, custom extensions or any other source into your quality assurance workflow in the known format of the typo3 executable.