Run SonarLint analysis as pre-commit hook using VS Code

I’d like to run a SolarLint analysis of the codebase as one of the Git pre-commit hooks, but I can’t seem to figure out the command to call from the package.json. Any ideas?

2 Likes