Skip to content

Add compatibility with Husky #14

@xipasduarte

Description

@xipasduarte

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions