Skip to content

Lint

Lint #205

Workflow file for this run

name: Lint
on:
pull_request:
branches: [ "dev" ]
schedule:
- cron: '34 10 * * 1'
jobs:
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci # or yarn install
- name: Lint server-side code
run: npx eslint src/ --fix
- name: Lint client-side code
run: npx eslint httpdocs/js/ --fix
- name: Lint react code
run: npx eslint src/client/ --fix