1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-20 19:09:07 +01:00

Format readme

This commit is contained in:
Kristoffer Dalby 2021-11-14 08:09:33 +00:00
parent e8726b1e22
commit f3da299457

View File

@ -67,13 +67,13 @@ To contribute to Headscale you would need the lastest version of [Go](https://go
To ensure we have some consistency with a growing number of contributes, this project has adopted linting and style/formatting rules: To ensure we have some consistency with a growing number of contributes, this project has adopted linting and style/formatting rules:
The **Go** code is linted with [`golangci-lint`](https://golangci-lint.run) and The **Go** code is linted with [`golangci-lint`](https://golangci-lint.run) and
formatted with [`golines`](https://github.com/segmentio/golines) (width 88) and formatted with [`golines`](https://github.com/segmentio/golines) (width 88) and
[`gofumpt`](https://github.com/mvdan/gofumpt). [`gofumpt`](https://github.com/mvdan/gofumpt).
Please configure your editor to run the tools while developing and make sure to Please configure your editor to run the tools while developing and make sure to
run `make lint` and `make fmt` before committing any code. run `make lint` and `make fmt` before committing any code.
The **Proto** code is linted with [`buf`](https://docs.buf.build/lint/overview) and 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). formatted with [`clang-format`](https://clang.llvm.org/docs/ClangFormat.html).
The **rest** (markdown, yaml, etc) is formatted with [`prettier`](https://prettier.io). The **rest** (markdown, yaml, etc) is formatted with [`prettier`](https://prettier.io).