Skip to content

Commit 5ab1a8d

Browse files
author
Tamoor Shahid
committed
Added simple linter and code formatter yaml
1 parent eac9c87 commit 5ab1a8d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/linter.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Lint and Format Check
2+
on:
3+
pull_request:
4+
push:
5+
6+
jobs:
7+
prettier:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-node@v4
12+
- run: |
13+
yarn
14+
yarn prettier . --check
15+
yarn eslint .

0 commit comments

Comments
 (0)