Skip to content

Commit

Permalink
eslint: run via npx
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-sanders committed Jun 28, 2024
1 parent f650807 commit 5e2574d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1,258 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ jobs:
- name: Install Rose
run: |
pip install ."[lint]"
yarn install
- name: Flake8
run: flake8
Expand All @@ -68,7 +67,8 @@ jobs:
run: etc/bin/shellchecker

- name: ESLint
run: yarn run lint
run: |
npx --package=eslint -- eslint -c .eslintrc.js sphinx/
- name: MyPy
run: |
Expand Down Expand Up @@ -144,7 +144,6 @@ jobs:
working-directory: rose
run: |
pip install ."[tests,docs${{ (startsWith(matrix.os, 'ubuntu') && ',graph,rosa') || '' }}]"
yarn install
- name: Install Cylc
uses: cylc/release-actions/install-cylc-components@v1
Expand Down
20 changes: 0 additions & 20 deletions package.json

This file was deleted.

Loading

0 comments on commit 5e2574d

Please sign in to comment.