Skip to content

Commit

Permalink
Create lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Type-Style authored Jan 10, 2024
1 parent f92ed25 commit 3b27f4d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/lint
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Lint

on:
pull_request:
push:
branches:
- dev

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:
eslint-args: '--ignore-path=.gitignore --quiet'
extensions: 'js,jsx,ts,tsx'
annotations: true

0 comments on commit 3b27f4d

Please sign in to comment.