Working with the react project. Here is my project sturcture Here is my package.json git is outside the frontend folder and I need to install hu ...
Working with the react project. Here is my project sturcture Here is my package.json git is outside the frontend folder and I need to install hu ...
How can I have two precommit hooks in husky? I'm looking to use commitlint along side a custom script defined in my package.json. I have installed hus ...
if you want when developer changed one file of the project and you want to force to make relevant changes in to another "similar " file with the help ...
I am trying to manually add Husky to my project as described here: https://typicode.github.io/husky/#/?id=manual I run npm install husky --save-dev a ...
I have installed husky and it was working fine for months and then out of the blue today after a restart this error came up: I don't know what coul ...
When running cy run (via npm run test:e2e) from the terminal it works just fine. The same command added to husky pre-push results in the following err ...
I've already installed husky and commitlint, but when I make a commit that commitlint should consider invalid, it normally passes as if it wasn't inst ...
I'm using Jest to test a NestJS application and I'm trying to create a git hook with husky that will not allow a commit if tests coverage are under 95 ...
I am trying to configure husky pre-push hook to run tests before push. Everything looks fine. After run git push origin hook is fired and tests are ru ...
I have created a node application and installed Husky7.0.4 and lint-staged12.3.5 following are the configuration for .husky/pre-commit --- file an ...
In a project, we use Husky but when I try to add a commit with git add . and git commit -m "test", I receive below error .husky/pre-commit: 2: .: Can ...
I want to the hook to do something like run NPM install after merge branch but only if package.json file is being modified I'm not sure if I'm doing ...
I configured Eslint on an Angular project to check the code during commits. I made an error on purpouse to test if my configuration works: I set the r ...
Is it possible to run only git hooks for when only files in certain folder are changed?? I have monorepo with backend and frontend. I would like to r ...
We have multiple teams. Frontend and Backend. All Frontend devs have node on the computer, but not the Backend devs. Husky (https://typicode.github.i ...
Environment Node installed in ~/node-v14.15.3-linux-x64/bin/node and already setup in the PATH variable. VSCode 1.55.2 Problem every time wh ...
I'm configuring Husky to block commits if the prettier or eslint accuses both an error or warn, and block the push if it doesn't pass the tests. Howe ...
I've setup a node project with husky but when my collegue tries to run npm install on his Mac he gets the following error : These are the relevant ...
A project that I'm working on with colleagues uses husky versions ^5.1.0 and I keep getting this error when I'm trying to push my commit. How do I ...
I installed husky@4 and lint-staged as per many other projects (on Mac OS11). The terminal command flow git add . and git commit -m 'something' flow w ...