build: replace `rules_lint` with `pre-commit`
rules_lint
isn't hermetic, so we had to build a custom CI image just to run the hooks. Also, pre-commit
has a lot of optimisations for only running hooks for the affected files, so this should be a nice productivity addition.
Added instruction to install hooks locally to the contributing guide.
Closes #39 (closed).
Edited by Alex Tercete