Skip to content

Commit

Permalink
Create eslint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dsheeler authored Sep 9, 2024
1 parent dc6cdbf commit dcad95e
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: ESLint

on:
push:
branches: [ 'main' ]
pull_request:
branches: [ 'main' ]

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
- name: Lint
run: npx eslint .
continue-on-error: true

0 comments on commit dcad95e

Please sign in to comment.