mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-03 15:18:11 +08:00
tweak lint-diff
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ lint:
|
|||||||
|
|
||||||
.PHONY: lint-diff
|
.PHONY: lint-diff
|
||||||
lint-diff:
|
lint-diff:
|
||||||
$(shell LIST=`git diff-index --name-only --diff-filter=d origin/master -- client/ | grep -E "(.*)\.(jsx|js)"`; if [ $(LIST) ]; then npx eslint $(LIST); fi )
|
$(shell git diff-index --name-only --diff-filter=d origin/master -- ../client/ | grep -E "(.*)\.(jsx|js)" | sed "s/client\///" | xargs npx eslint)
|
||||||
|
|
||||||
|
|
||||||
# Development convenience methods
|
# Development convenience methods
|
||||||
|
|||||||
Reference in New Issue
Block a user