mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-23 21:18:12 +08:00
proper target and comment
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user