proper target and comment

This commit is contained in:
Severiano Badajoz
2020-04-01 17:28:37 -07:00
parent 5ec13a2115
commit 305395bd62
+2 -1
View File
@@ -29,7 +29,8 @@ lint:
.PHONY: lint-diff
lint-diff:
$(shell git diff-index --name-only --diff-filter=d origin/master -- ../client/ | grep -E "(.*)\.(jsx|js)" | sed "s/client\///" | xargs npx eslint)
# Get client diff against master, find all js/jsx files, remove the client prefex, run eslinst against result
git diff-index --name-only --diff-filter=d origin/master -- ../client/ | grep -E "(.*)\.(jsx|js)" | sed "s/client\///" | xargs -r npx eslint
# Development convenience methods