Make format shuld format, not lint

This commit is contained in:
Kristoffer Dalby 2021-11-13 09:20:51 +00:00
parent fa0922d5bb
commit b653572272

View File

@ -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)