Skip to content

Commit 6759674

Browse files
CopilotNonSwag
andcommitted
Update linting command from npx to bunx for consistency
Co-authored-by: NonSwag <[email protected]>
1 parent 6f5974e commit 6759674

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/copilot-instructions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ TheNextLvl documentation is a Next.js 15 application built with Fumadocs, TypeSc
3737
### Linting and Formatting
3838

3939
- **Format code**: `bun run format` or `npm run format` -- takes ~1 second. Uses Prettier.
40-
- **Lint code**: `npx next lint` -- takes ~3 seconds. NEVER CANCEL. Set timeout to 30+ seconds.
40+
- **Lint code**: `bunx next lint` -- takes ~3 seconds. NEVER CANCEL. Set timeout to 30+ seconds.
4141
- Note: Shows warnings about TypeScript version mismatch (expected)
4242
- May show img element and unused variable warnings (expected)
4343
- **CRITICAL**: Always run formatting and linting before pushing changes or CI will fail
@@ -61,7 +61,7 @@ After making changes, ALWAYS perform these validation steps:
6161

6262
3. **Validate formatting and linting**:
6363
- Run `bun run format` or `npm run format` - should complete in ~1 second without errors
64-
- Run `npx next lint` - should complete in ~3 seconds with minimal warnings only
64+
- Run `bunx next lint` - should complete in ~3 seconds with minimal warnings only
6565
- Expected warnings: img element usage, unused variables (these are normal)
6666

6767
## Key Architecture
@@ -144,7 +144,7 @@ After making changes, ALWAYS perform these validation steps:
144144
### Pre-commit Checklist
145145

146146
1. Run `bun run format` or `npm run format` - ensure all files formatted (~1 second)
147-
2. Run `npx next lint` - check for linting issues (~3 seconds, warnings OK)
147+
2. Run `bunx next lint` - check for linting issues (~3 seconds, warnings OK)
148148
3. Test development server starts: `bun run dev` or `npm run dev` (~1 second)
149149
4. Verify content changes display correctly at http://localhost:3000
150150
5. Test homepage accessibility: `curl -s http://localhost:3000 | head -10`

0 commit comments

Comments
 (0)