Skip to content

Commit 1357102

Browse files
committed
CI: Add linting of JavaScript/CSS with eslint.
1 parent 70b2141 commit 1357102

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/reviewdog.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,16 @@ jobs:
3030
run: |
3131
flake8 --docstring-convention=all | \
3232
reviewdog -f=pep8 -name=flake8 -reporter=github-check
33+
34+
eslint:
35+
name: eslint
36+
runs-on: ubuntu-latest
37+
steps:
38+
- uses: actions/checkout@v2
39+
40+
- name: eslint
41+
uses: reviewdog/action-eslint@v1
42+
with:
43+
github_token: ${{ secrets.GITHUB_TOKEN }}
44+
reporter: github-check
45+
workdir: 'lib/matplotlib/backends/web_backend/'

0 commit comments

Comments
 (0)