3.0.0-beta.6
vue create project
cd project
yarn add husky
Test hooks
It could be nice to document that @vue/cli-service is using yorkie
for some lint, and a guide to add custom hooks
Yeah, yorkie does the same thing with husky. Use "gitHooks" instead of "husky", and use dash delimited hook names.
I did use yorkie at the end (note that the next version of husky does kinda the same as yorkie - moving from scripts
to husky
, pre-commit
instead of precommit
)
The thing is, I had to check in my .git/hooks/pre-commit
, then yarn why yorkie
to find out.
It would be cool to have a line in the documentation :)
Yeah, the docs is still WIP, we will have lots of things to add when we reach RC.
can there be an update to move Vue-CLI to support Husky? i noticed Yorkie has not been updated since late 2018
@yyx990803
I agree with the comment above.
P.s. Husky is supporting a project in a subdirectory, but Yorkie doesn't.
@yyx990803
I agree with the comment above.
P.s. Husky is supporting a project in a subdirectory, but Yorkie doesn't.
Agreed. Also missing subdirectory project support.
Most helpful comment
@yyx990803
I agree with the comment above.
P.s. Husky is supporting a project in a subdirectory, but Yorkie doesn't.