-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Husky pre-commit configuration, #318. #320
base: main
Are you sure you want to change the base?
Conversation
It seems this overwrites Code Quality hooks so rest of the scanners don't execute anymore (phpcs, psalm etc). Also this scans all the files, Code Quality scans only the committed files. |
Added
Test was running successfully only on staged file after I've defined
|
How to test:
git clone [email protected]:wunderio/drupal-project.git
cd drupal-project
git checkout feature/husky
lando start
(orlando rebuild
if you've working on existing Lando project)echo 'var foo="bar"' > web/modules/custom/phpunit_example/example.js
git add web/modules/custom/phpunit_example/example.js
git commit