Skip to content

chore(deps): update dependency lint-staged to v15.4.1 #492

chore(deps): update dependency lint-staged to v15.4.1

chore(deps): update dependency lint-staged to v15.4.1 #492

Workflow file for this run

name: Lint
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install dependencies
run: npm ci
- name: Prettier
run: npm run prettier:check
- name: ESLint
if: success() || failure()
run: npm exec eslint -- --max-warnings 0 --ignore-pattern docs/examples/ .
- name: Stylelint
if: success() || failure()
run: npm run stylelint
- name: Build
run: npm run --if-present build
- name: Lint examples
run: npm exec eslint -- --max-warnings 0 docs/examples/