I think adding a tool like gitleaks to the husky pre-commit hooks would be a nice addition to improve security by detecting secrets before you actually try to commit something.
But the thing with gitleaks is, this would require everyone to have gitleaks installed to work with the template which I think is not ideal.
Maybe there is a similar tool that can be installed as a npm package instead that we can add to the template?
I think adding a tool like
gitleaksto the husky pre-commit hooks would be a nice addition to improve security by detecting secrets before you actually try to commit something.But the thing with gitleaks is, this would require everyone to have gitleaks installed to work with the template which I think is not ideal.
Maybe there is a similar tool that can be installed as a npm package instead that we can add to the template?