Skip to content

30 improve code quality and maintainability #8

30 improve code quality and maintainability

30 improve code quality and maintainability #8

Workflow file for this run

name: ESLint
on: [ push, pull_request ]
jobs:
eslint:
name: Run eslint scanning
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
# Required for private repositories by github/codeql-action/upload-sarif
actions: read
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install
run: |
npm install eslint@^8.0.0
npm install @microsoft/[email protected]
- name: Lint
run: npx eslint .
--format @microsoft/eslint-formatter-sarif
--output-file eslint-results.sarif
continue-on-error: true
- name: Report
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: eslint-results.sarif
wait-for-processing: true