Skip to content

feat: wdio v9 compat #968

feat: wdio v9 compat

feat: wdio v9 compat #968

Workflow file for this run

# this will check
# - src formatting in ./src ./client-side-js ./docs with prettier
# - code rules in ./src (not yet ./client-side-js) with eslint
name: lint w/ prettier and eslint
on:
push:
branches:
- main
- main-v2
pull_request:
branches:
- main
- main-v2
jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
cache: "npm"
cache-dependency-path: "**/package-lock.json"
- name: tmp install prettier + eslint
run: npm i prettier eslint
- name: lint things
run: |
node_modules/.bin/prettier --debug-check client-side-js src docs
node_modules/.bin/eslint --ext .ts src
# TODO: linting rules for client-side-js