We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2ce559e + fa6c1b3 commit 84b1f8bCopy full SHA for 84b1f8b
.github/workflows/lint.yml
@@ -0,0 +1,22 @@
1
+name: Lint CI
2
+on:
3
+ pull_request:
4
+ branches:
5
+ - master
6
+
7
+jobs:
8
+ check-lint:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v4
12
13
+ - uses: actions/setup-node@v4
14
+ with:
15
+ node-version: '20'
16
+ cache: 'npm'
17
18
+ - run: npm ci
19
20
+ - run: npm run lint
21
22
+ - run: npm run format
frontend/package.json
@@ -6,7 +6,9 @@
"dev": "next dev --turbopack",
"build": "next build --turbopack",
"start": "next start",
- "lint": "eslint"
+ "lint": "next lint",
+ "format": "prettier --check .",
+ "format:fix": "prettier --write ."
},
"dependencies": {
"react": "19.1.0",
0 commit comments