Skip to content

Commit 5657303

Browse files
authored
Added support for multiple files or directories
1 parent 16c0ee7 commit 5657303

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

translation/lint.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,15 @@ translation file using the ``lint:yaml`` and ``lint:xliff`` commands:
1616
1717
# lint a single file
1818
$ ./bin/console lint:yaml translations/messages.en.yaml
19-
$ ./bin/console lint:xliff translations/messages.en.xlf
19+
$ ./bin/console lint:xliff translations/messages.en.xlf
2020
2121
# lint a whole directory
2222
$ ./bin/console lint:yaml translations
2323
$ ./bin/console lint:xliff translations
24+
25+
# lint a multiple files or directories
26+
$ ./bin/console lint:yaml translations path/to/trans
27+
$ ./bin/console lint:xliff translations/messages.en.xlf translations/messages.es.xlf
2428
2529
The linter results can be exported to JSON using the ``--format`` option:
2630

0 commit comments

Comments
 (0)