Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
Create lint.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Jasper Mayone <[email protected]>
  • Loading branch information
jaspermayone authored Dec 10, 2023
1 parent 8fa121c commit b65a726
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Lint

on:
pull_request:
push:
branches:
- main

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
- uses: sibiraj-s/action-eslint@v3
with:
token: ${{ secrets.GITHUB_TOKEN }} # optional
eslint-args: '--ignore-path=.gitignore --quiet'
extensions: 'js,jsx,ts,tsx'
annotations: true
ignore-path: .eslintignore
ignore-pattern: |
dist/
lib/

0 comments on commit b65a726

Please sign in to comment.