Sure, you can use all the tools or git hooks you can find to mitigate the issue with the style of the code but this is more of a human problem than a technical problem.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Sure, you can use all the tools or git hooks you can find to mitigate the issue with the style of the code but this is more of a human problem than a technical problem.