Skip to content

Commit bce2945

Browse files
MSeveyGanesha Upadhyaya
authored andcommitted
feat: add go fmt to make fmt command (#1178)
<!-- Please read and fill out this form before submitting your PR. Please make sure you have reviewed our contributors guide before submitting your first PR. --> ## Overview <!-- Please provide an explanation of the PR, including the appropriate context, background, goal, and rationale. If there is an issue with this information, please provide a tl;dr and link the issue. --> Closes #223 Instead of adding a formatted to the CI, which would introduce a diff that would need to be committed, I extended the `make fmt` command.
1 parent 2de31de commit bce2945

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,12 @@ lint: vet
4747

4848
.PHONY: lint
4949

50-
## fmt: Run fixes for linters. Currently only markdownlint.
50+
## fmt: Run fixes for linters.
5151
fmt:
5252
@echo "--> Formatting markdownlint"
5353
@markdownlint --config .markdownlint.yaml '**/*.md' -f
54+
@echo "--> Formatting go"
55+
@golangci-lint run --fix
5456
.PHONY: fmt
5557

5658
## vet: Run go vet

0 commit comments

Comments
 (0)