title: Best way to enforce custom coding standards for a developer
body: <p>My requirement is to design a framework to enforce custom coding standards (per Gitlab project) pre-push or while raising an MR. We are looking at Gitlab CI/ Webhooks / Server-side githooks.
  We faced resistance from Gitlab admins that Server-side githooks are not the right way as it may result in a server overload and lead to Gitlab performance issues.
  Also, we want to give the developer the choice to commit with or without fixing the issues that crop up after the check (in case of emergency situations). The check should happen on the server side and not at the client-side (developer). The applications may be backend/front-end with technologies like Java/ReactJS/NodeJS etc.
  <strong>What would be the best way to implement this?</strong></p>