mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-06 07:38:11 +08:00
proper target and comment
This commit is contained in:
+2
-1
@@ -29,7 +29,8 @@ lint:
|
|||||||
|
|
||||||
.PHONY: lint-diff
|
.PHONY: lint-diff
|
||||||
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
|
# Development convenience methods
|
||||||
|
|||||||
Reference in New Issue
Block a user