Skip to content

build: set up code formatting

Alex Tercete requested to merge format into main

We now use rules_lint to format code consistently.

It's encouraged that developers install the Git hooks locally, which will check code formatting before a commit:

bazelisk run //tools/git/hooks:install

If the check fails, format the code with:

bazelisk run //tools/format

As a fallback, the CI pipeline will fail if code isn't formatted properly.

Edited by Alex Tercete

Merge request reports