10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfba8a6 commit b6dcce0Copy full SHA for b6dcce0
translation/lint.rst
@@ -32,3 +32,16 @@ The linter results can be exported to JSON using the ``--format`` option:
32
33
$ php bin/console lint:yaml translations/ --format=json
34
$ php bin/console lint:xliff translations/ --format=json
35
+
36
+.. tip::
37
38
+ The Yaml component provides a stand-alone ``yaml-lint`` binary to lint YAML
39
+ files without using the entire Symfony console application:
40
41
+ .. code-block:: terminal
42
43
+ $ php vendor/bin/yaml-lint translations/
44
45
+ .. versionadded:: 5.1
46
47
+ The ``yaml-lint`` binary was introduced in Symfony 5.1.
0 commit comments