Skip to content

Commit

Permalink
Merge pull request #8 from smartbooster/fix_lint_twig_directory_target
Browse files Browse the repository at this point in the history
Directly pass the templates directory as argument for the lint:twig command
  • Loading branch information
mathieu-ducrot committed Jan 2, 2024
2 parents f871188 + 58dcb29 commit 2ecae6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make/qualimetry.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cbf: code-beautifier
lint-php: ## Linter PHP
find config src tests -type f -name "*.php" -exec php -l {} \;
lint-twig: ## Linter Twig
find templates -type f -name "*.twig" | xargs $(CONSOLE) lint:twig
$(CONSOLE) lint:twig templates
lint-yaml: ## Linter Yaml
$(CONSOLE) lint:yaml config translations
lint-container: ## Linter Container service definitions
Expand Down

0 comments on commit 2ecae6c

Please sign in to comment.