Run SonarLint analysis as pre-commit hook using VS Code


(Zach Newburgh) #1

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?