mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-28 04:25:22 +00:00
Make format shuld format, not lint
This commit is contained in:
parent
fa0922d5bb
commit
b653572272
2
Makefile
2
Makefile
@ -30,7 +30,7 @@ lint:
|
|||||||
golangci-lint run --fix --timeout 10m
|
golangci-lint run --fix --timeout 10m
|
||||||
|
|
||||||
fmt:
|
fmt:
|
||||||
prettier --check '**/**.{ts,js,md,yaml,yml,sass,css,scss,html}'
|
prettier --write '**/**.{ts,js,md,yaml,yml,sass,css,scss,html}'
|
||||||
golines --max-len=88 --base-formatter=gofumpt -w $(GO_SOURCES)
|
golines --max-len=88 --base-formatter=gofumpt -w $(GO_SOURCES)
|
||||||
clang-format -style="{BasedOnStyle: Google, IndentWidth: 4, AlignConsecutiveDeclarations: true, AlignConsecutiveAssignments: true, ColumnLimit: 0}" -i $(PROTO_SOURCES)
|
clang-format -style="{BasedOnStyle: Google, IndentWidth: 4, AlignConsecutiveDeclarations: true, AlignConsecutiveAssignments: true, ColumnLimit: 0}" -i $(PROTO_SOURCES)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user