I want to test my code on the pre-commit hook. To achieve it I installed husky, and list-staged.
pre-commit
husky
list-staged
Here\'s the config: