-
-
Notifications
You must be signed in to change notification settings - Fork 154
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
Commitizen with Husky #155
Comments
I see on https://www.npmjs.com/package/git-cz that You can also add it to Just saying, the report is not coming from any plugin, |
As you said, I have However, knip Commitizen Plugin cannot see/know that I have The plugin should examine files in I would like to add a PR here, but this needs broad knowledge about how knip works. |
The Unfortunately This will probably discover |
No problem. I'm using the workaround currently. It would be nice if it could be solved in the future. |
The issue is that Knip can't really solve it without reporting false positives for correct situations. There needs to be a (proper) reference somehow. Going to close this now, but not without telling you I really appreciate the discussions :) |
Hi,
Situation
I use Commitizen with Husky. As a result, I don't have a
cz
command in thescripts
ofpackage.json
. Instead, I have a.husky/prepare-commit-msg
file with the following contents:This is the suggested config for Commitizen and Husky.
Problem
Knip Commitizen Plugin reports:
However, Commitizen is used.
Workaround
Adding following to the
package.json
.Kindly Request
Is it possible to add
Husky
support toCommitizen Plugin
? It is a popular combination.Kind Regards,
The text was updated successfully, but these errors were encountered: