Skip to content

Add linting workflow #1

Add linting workflow

Add linting workflow #1

Workflow file for this run

name: Lint
on:
pull_request:
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install requirements
run: npm ci
- name: Prettier
run: npx prettier -c src/ README.md .github/workflows
- name: ES lint
run: npx eslint --ignore-path .gitignore .
- name: Stylelint
run: npx stylelint '**/*.css'