Pre Commit - This is *the* pipeline tool you're looking for
A while back in a company I worked for, we used to write code locally, commit it and then push it to the repo. The code was checked for the usual errors in the markdown, structure and so on using a BitBucket pipeline and if there were any issues, the build would fail and you would adjust the code locally, re-commit and re-push. So far so good. The problem was that the checks were only done when you pushed the code....