Don’t lint php files
This commit is contained in:
parent
5d6b607992
commit
f63b6e4dcd
1 changed files with 0 additions and 9 deletions
9
Makefile
9
Makefile
|
@ -3,10 +3,6 @@
|
|||
.PHONY: sass frontend js compress lint-sass lint-js lint-php
|
||||
jsfiles := $(wildcard resources/assets/js/*.js)
|
||||
sassfiles := $(wildcard resources/assets/sass/*.scss)
|
||||
phpfiles := $(wildcard app/*.php) \
|
||||
$(wildcard app/**/*.php) \
|
||||
$(wildcard app/**/**/*.php) \
|
||||
$(wildcard app/**/**/**/*.php)
|
||||
yarnfiles:= node_modules/whatwg-fetch/fetch.js \
|
||||
node_modules/alertify.js/dist/js/alertify.js \
|
||||
node_modules/store2/dist/store2.min.js \
|
||||
|
@ -48,8 +44,3 @@ lint-js: $(jsfiles)
|
|||
for f in $^; do \
|
||||
eslint $$f; \
|
||||
done;
|
||||
|
||||
lint-php: $(phpfiles)
|
||||
for f in $^; do \
|
||||
php -l $$f; \
|
||||
done;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue