Skip to content

Merge branch 'main' into nancy_main #13

Merge branch 'main' into nancy_main

Merge branch 'main' into nancy_main #13

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# ESLint is a tool for identifying and reporting on patterns
# found in ECMAScript/JavaScript code.
# More details at https://github.com/eslint/eslint
# and https://eslint.org
# Run Prettier checks for formatting following ESLint
# More details at https://prettier.io/
name: Lint Checks
on:
push:
branches: ["main"]
pull_request:
# The branches below must be a subset of the branches above
branches: ["main"]
jobs:
eslint:
name: Run eslint scanning
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install ESLint and Prettier
run: |
cd client
npm install [email protected] [email protected]
- name: Run ESLint
run: npx eslint client/.
--config ./client/.eslintrc.json
--ext .js,.jsx,.ts,.tsx
continue-on-error: false
# - name: Run Prettier
# run: npx prettier client/.
# --check
# continue-on-error: false