Skip to content

Commit

Permalink
Added ahoy lint-be-fix and ahoy lint-fe-fix commands.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Aug 16, 2024
1 parent 0802006 commit b475fa2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .ahoy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,19 @@ commands:
lint-fix:
usage: Fix lint issues of back-end and front-end code.
cmd: ahoy lint-be-fix && ahoy lint-fe-fix

lint-be-fix:
usage: Fix lint issues of back-end code.
cmd: |
ahoy cli vendor/bin/rector --clear-cache
ahoy cli vendor/bin/phpcbf
lint-fe-fix:
usage: Fix lint issues of front-end code.
cmd: |
ahoy cli vendor/bin/twig-cs-fixer lint --fix
ahoy cli "npm run --prefix \${DREVOPS_WEBROOT}/themes/custom/\${DRUPAL_THEME} lint-fix"
test:
usage: Run all tests.
Expand Down

1 comment on commit b475fa2

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.