Category "husky"

Why am I getting this error in husky (in react)?

I'm not good at English. I beg your pardon. I wanted to apply 'prettier' before commit using husky & lint-staged. So I installed 'husky@4', 'lint-staged', '

Commitizen and husky seem to be triggering the pre-commit hook twice

I am trying to configure commitizen with husky and when I commit using a custom script from package.json commit gets triggered twice. This is not the case when

how to run pre-commit in angular 7?

when I run the git commit that time I need to run the ng lint --fix I tried with this. my package.json file image attached below: but it not working for me

setting up lint-staged for jest

I have to try to set up a husky with lint-staged. Initially, I was trying to set up like the following but that does not work. "lint-staged": { "*.js": [

How to prevent console.log when pushing commits with Husky

So... I'm not even entirely sure if my hooks are working but this is my current setup. I'm using "husky": "7.0.4" and "lint-staged": "12.1.2". My pre-commit on

How to access commit message with Husky pre-commit hook?

My husky script: "husky": { "hooks": { "pre-commit": "sh ./tools/githooks/pre-commit.sh" } } Let's say I am doing a git commit -m "I want t

How to fix error 'not found husky-run' when committing new code?

When committing on a project that uses Husky, I get an error that says not found husky-run I checked the package.json and it has husky as a dependency, and I ca