mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-09 02:08:11 +08:00
re-enable front-end lint test (#1483)
* change lint to only src * reenable lint all
This commit is contained in:
@@ -35,11 +35,11 @@ jobs:
|
|||||||
- name: Lint with flake8
|
- name: Lint with flake8
|
||||||
run: |
|
run: |
|
||||||
make lint-server
|
make lint-server
|
||||||
# - name: Lint all with eslint
|
- name: Lint src with eslint
|
||||||
# working-directory: ./client
|
working-directory: ./client
|
||||||
# if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
# run: |
|
run: |
|
||||||
# make lint
|
make lint
|
||||||
# - name: Lint diff with eslint
|
# - name: Lint diff with eslint
|
||||||
# working-directory: ./client
|
# working-directory: ./client
|
||||||
# if: github.event_name == 'pull_request'
|
# if: github.event_name == 'pull_request'
|
||||||
|
|||||||
+1
-1
@@ -25,7 +25,7 @@ build:
|
|||||||
|
|
||||||
.PHONY: lint
|
.PHONY: lint
|
||||||
lint:
|
lint:
|
||||||
npx eslint .
|
npx eslint ./src/
|
||||||
|
|
||||||
.PHONY: lint-diff
|
.PHONY: lint-diff
|
||||||
lint-diff:
|
lint-diff:
|
||||||
|
|||||||
Reference in New Issue
Block a user