Skip to content

Commit

Permalink
Add lint task for translations (#255)
Browse files Browse the repository at this point in the history
* Add lint task for translations

* Only validate own translations
  • Loading branch information
alexander-schranz authored Aug 29, 2024
1 parent 2e30526 commit 038dbfe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@
"@lint-twig",
"@lint-twig-cs",
"@lint-yaml",
"@lint-xliff",
"@lint-translations",
"@lint-container",
"@lint-composer",
"@lint-doctrine"
Expand All @@ -169,6 +171,10 @@
"lint-twig-cs": "@php vendor/bin/twig-cs-fixer lint",
"lint-composer": "@composer validate --no-check-publish --strict",
"lint-twig": "@php bin/console lint:twig templates/",
"lint-xliff": "@php bin/console lint:xliff translations/",
"lint-translations": [
"@php bin/console debug:translation en --only-missing"
],
"lint-yaml": "@php bin/console lint:yaml config/ --parse-tags",
"lint-container": [
"@php bin/console lint:container --env dev",
Expand Down

0 comments on commit 038dbfe

Please sign in to comment.