[ENG-711]: First write through of the spec (#57)

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <aleks.bezobchuk@gmail.com>
This commit is contained in:
David Terpay
2023-04-18 19:46:43 +00:00
committed by GitHub
co-authored by Aleksandr Bezobchuk Aleksandr Bezobchuk
parent 64e1dd2f58
commit bea9eadbf3
6 changed files with 348 additions and 1 deletions
+23
View File
@@ -47,3 +47,26 @@ proto-update-deps:
$(DOCKER) run --rm -v $(CURDIR)/proto:/workspace --workdir /workspace $(protoImageName) buf mod update
.PHONY: proto-all proto-gen proto-format proto-lint proto-check-breaking proto-update-deps
###############################################################################
### Linting ###
###############################################################################
golangci_lint_cmd=golangci-lint
golangci_version=v1.51.2
lint:
@echo "--> Running linter"
@go install github.com/golangci/golangci-lint/cmd/golangci-lint@$(golangci_version)
@golangci-lint run
lint-fix:
@echo "--> Running linter"
@go install github.com/golangci/golangci-lint/cmd/golangci-lint@$(golangci_version)
@golangci-lint run --fix
lint-markdown:
@echo "--> Running markdown linter"
@markdownlint **/*.md
.PHONY: lint lint-fix lint-markdown