Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull request overview
This PR sets up automated code quality checks by adding a pre-commit hook and GitHub Actions workflow. It also enforces single quotes throughout the codebase by updating the Biome formatter configuration and reformatting all files accordingly.
- Adds Husky for Git hooks with pre-commit linting and type checking
- Creates GitHub Actions workflow to validate PRs with linting and type checking
- Configures Biome to enforce single quote style and applies formatting across all files
Reviewed changes
Copilot reviewed 32 out of 34 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
.husky/pre-commit |
New pre-commit hook running lint and type-check scripts |
.github/workflows/prs.yaml |
New GitHub Actions workflow for PR validation |
package.json |
Adds husky dependency, prepare script, and type-check script |
yarn.lock |
Adds husky@^9.1.7 dependency |
biome.json |
Configures single quote style for JavaScript/TypeScript |
tsconfig.json |
Reformatted to use single quotes and condensed arrays |
proxy.js |
Reformatted with single quotes, added semicolons, and changed let to const |
postcss.config.mjs |
Reformatted to use single quotes |
next.config.ts |
Reformatted to use single quotes |
app/**/*.tsx |
Reformatted with single quotes throughout all component files |
app/**/*.ts |
Reformatted with single quotes in TypeScript utility and store files |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| - name: Install dependencies | ||
| run: yarn install --frozen-lockfile | ||
| - name: Biome check | ||
| run: yarn link |
There was a problem hiding this comment.
The command 'yarn link' appears to be incorrect. This command is used to create symlinks for local package development, not to run linting checks. Based on the context and the pre-commit hook, this should be 'yarn lint' to run the Biome linter check.
| run: yarn link | |
| run: yarn lint |
No description provided.