mirror of
https://github.com/juanfont/headscale.git
synced 2026-03-29 05:32:01 +02:00
Switch to mdformat to format docs
- Use mdformat and mdformat-mkdocs to format docs - Add mdformat to Makefile and pre-commit-config - Prettier ignores docs/
This commit is contained in:
committed by
nblock
parent
5c449db125
commit
47307d19cf
@@ -107,6 +107,8 @@ run `make lint` and `make fmt` before committing any code.
|
||||
The **Proto** code is linted with [`buf`](https://docs.buf.build/lint/overview) and
|
||||
formatted with [`clang-format`](https://clang.llvm.org/docs/ClangFormat.html).
|
||||
|
||||
The **docs** are formatted with [`mdformat`](https://mdformat.readthedocs.io).
|
||||
|
||||
The **rest** (Markdown, YAML, etc) is formatted with [`prettier`](https://prettier.io).
|
||||
|
||||
Check out the `.golangci.yaml` and `Makefile` to see the specific configuration.
|
||||
|
||||
Reference in New Issue
Block a user