Add Vale pre-commit hook
Vale can check both spelling and style in (hyper)text as well as in source files.
This depends on https://github.com/sds/overcommit/pull/757 which should be merged first! I will rebase this (or merge from master?) after that.
Alas this ad-hoc implementation does not readily support differentiating between warnings and errors. Well, it could, but a project-independent way to reference a file (in this case a Go template) from .overcommit.yml would be needed, see https://github.com/errata-ai/vale/issues/350.
Limited support is probably still better than nothing! :wink: Also the template for warnings is now out here (see above link), so it could at least be linked to as part of this hook configuration/documentation.
The documentation is indeed just a placeholder for now. Documentation for non-ad-hoc points to their implementation, so what should be done for ad-hoc ones?
Maybe having some manual installation instructions for ad-hoc hooks would be fine too? It is clearly not ideal for users, but after all the individual tools' installations is (also for simplicity reasons) not done automatically either.
This depends on #757 which should be merged first! I will rebase this (or merge from master?) after that.
Rebased to adapt to latest configuration format changes.