Skip to content

adds lint:eslint:check + eslint job in Linting Github Action #5

adds lint:eslint:check + eslint job in Linting Github Action

adds lint:eslint:check + eslint job in Linting Github Action #5

Workflow file for this run

name: Linting
on: pull_request
jobs:
prettier:
name: Prettier
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "lts/hydrogen"
- run: npm ci
- run: npm run lint:prettier:check
eslint:

Check failure on line 19 in .github/workflows/linting.yaml

View workflow run for this annotation

GitHub Actions / Linting

Invalid workflow file

The workflow is not valid. .github/workflows/linting.yaml (Line: 19, Col: 1): Unexpected value 'eslint'
name: ESLint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "lts/hydrogen"
- run: npm ci
- run: npm run lint:eslint:check