From 1a9fc00530b20c8d6494ed809af47f9cb9d58259 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Sat, 17 Aug 2019 14:52:06 +0100 Subject: [PATCH] feat(project): add a make target for reformatting backend code --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 6b5ccd3fb..400ce05cc 100644 --- a/Makefile +++ b/Makefile @@ -131,6 +131,10 @@ test-js: .build/deps-build-node.ok .PHONY: test test: lint test-go test-js +.PHONY: format-go +format-go: + gofmt -l -s -w . + .PHONY: format-js format-js: cd ui && ./node_modules/.bin/prettier --write 'src/**/*.js'