mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-27 04:28:12 +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
|
||||
run: |
|
||||
make lint-server
|
||||
# - name: Lint all with eslint
|
||||
# working-directory: ./client
|
||||
# if: github.event_name != 'pull_request'
|
||||
# run: |
|
||||
# make lint
|
||||
- name: Lint src with eslint
|
||||
working-directory: ./client
|
||||
if: github.event_name != 'pull_request'
|
||||
run: |
|
||||
make lint
|
||||
# - name: Lint diff with eslint
|
||||
# working-directory: ./client
|
||||
# if: github.event_name == 'pull_request'
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@ build:
|
||||
|
||||
.PHONY: lint
|
||||
lint:
|
||||
npx eslint .
|
||||
npx eslint ./src/
|
||||
|
||||
.PHONY: lint-diff
|
||||
lint-diff:
|
||||
|
||||
Reference in New Issue
Block a user