Skip to content

Create switchers maps from arrays of pairs (#231) #92

Create switchers maps from arrays of pairs (#231)

Create switchers maps from arrays of pairs (#231) #92

Workflow file for this run

name: Lint
on: [push, pull_request, workflow_dispatch]
env:
FORCE_COLOR: 1
PIP_DISABLE_PIP_VERSION_CHECK: 1
permissions:
contents: read
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
cache: pip
- uses: pre-commit/[email protected]
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
- name: Lint with Prettier
run: npx prettier templates/switchers.js --check --single-quote