From 94d84f2b16d3247a903e7c186e31458f5ad60277 Mon Sep 17 00:00:00 2001 From: Thanos Kamber Date: Thu, 20 Oct 2022 07:38:25 +0300 Subject: [PATCH] Added lint rule to Makefile Signed-off-by: Thanos Kamber --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile b/Makefile index 8d428a7d3..415be460a 100644 --- a/Makefile +++ b/Makefile @@ -30,6 +30,16 @@ build: clean-dist install-deps build-js release: clean-dist install-deps-nodev build-js +lint: lint-js lint-php + +lint-js: + npm run lint + npm run stylelint + +lint-php: + composer run lint 1>/dev/null + composer run cs:check + build-js: install-deps-js npm run build