Git Client hook - block if Sonar lint finds new issues

we want to create GitHub client hook. While committing the changes in a file to github, a check has to be done to ensure whether sonar analysis is done for that file using sonarlint.

If the analysis is not done, then the commit should fail.

is it possible to enable a client side hook like this?


What you’re looking for is PR analysis and decoration. It’s available starting in Developer Edition($).