If you suggest any pre commit (bitbucket) hook for sonarlint viloate rules?

if you suggest any pre-commit (bitbucket) hook for sonarlint violate rules ?

Closing this thread due to lack of activity.

Feel free to open a new thread if you still have an issue/question.