Added lint rule to Makefile
Signed-off-by: Thanos Kamber <thanos.kamber@gmail.com>
This commit is contained in:
10
Makefile
10
Makefile
@@ -30,6 +30,16 @@ build: clean-dist install-deps build-js
|
|||||||
|
|
||||||
release: clean-dist install-deps-nodev 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
|
build-js: install-deps-js
|
||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user