Skip to content

Update js formatter and linter #783

Update js formatter and linter

Update js formatter and linter #783

Workflow file for this run

name: eslint
on:
pull_request:
branches:
- master
jobs:
eslint:
name: ESLint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Enable pnpm
run: corepack enable pnpm
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: pnpm
- name: Install
run: pnpm install
- name: eslint
uses: reviewdog/action-eslint@v1
with:
reporter: github-pr-review
eslint_flags: 'pcdeditor.js pcdeditor.d.ts ReactPCDEditor/index.tsx'