The way we solved this on other repos was with linters that run in CI. We did that here too, for TypeScript, but I suspect we didn't extend it to the /appium directory which we should.
With a commit hook, I'm worried it may become another thing that may break and need to be maintained, but maybe it's just my lack of experience. We could consider that for later, if it works well and if Roma agrees.
Originally posted by @tomholub in #1526 (comment)