mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-24 20:18:12 +08:00
ESLint tooling and enforcement(#1492)
* add eslint-prettier * add lint-staged * ignore .eslintcache * remove unused import * attempt test change * Revert "attempt test change" This reverts commit78d0e31d41. * attempt to add error * Revert "attempt to add error" This reverts commita5885c0942. * add error * create config * add comment * tweak glob * Revert "add error" This reverts commit3187522396. * add python error * Revert "add python error" This reverts commitd0b116ed15. * lint on push + PR * Revert "add comment" This reverts commitefa4eb6676. * add prettier rules to ESLint * remove lint-diff targets
This commit is contained in:
@@ -4,6 +4,7 @@ on:
|
||||
push:
|
||||
branches: master
|
||||
pull_request:
|
||||
branches: *
|
||||
|
||||
env:
|
||||
JEST_ENV: prod
|
||||
@@ -37,14 +38,9 @@ jobs:
|
||||
make lint-server
|
||||
- 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'
|
||||
# run: |
|
||||
# make lint-diff
|
||||
|
||||
|
||||
unit-test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user