Skip to content
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 compatibility with Husky #14

Open
xipasduarte opened this issue May 21, 2024 · 0 comments
Open

Add compatibility with Husky #14

xipasduarte opened this issue May 21, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@xipasduarte
Copy link
Member

xipasduarte commented May 21, 2024

Is your feature request related to a problem? Please describe.
If a project uses the husky package to manage Git hooks, the install will collide with it when overriding the file for pre-commit.

Describe the solution you'd like
It would be nice to have php-pre-commit detect that husky is being used and add itself to the pre-commit file if any existes. Otherwise, just perform normally.

Describe alternatives you've considered
Adding husky here, to manage the hooks, but it doesn't make sense, because of the different languages. (We might however consider building from husk to have the same with PHP.)

Additional context
None.

@xipasduarte xipasduarte added the enhancement New feature or request label May 21, 2024
@xipasduarte xipasduarte changed the title Add compatibility with Husk Add compatibility with Husky May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants