Skip to content

Commit e7d12c9

Browse files
CLI-31 Update CLAUDE.md to use bun
1 parent 2c345a0 commit e7d12c9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

CLAUDE.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,25 @@ A CLI tool (`sonar`) that integrates SonarQube and SonarCloud into developer wor
55
# Running checks
66

77
```bash
8-
npm run lint # ESLint (TypeScript-aware)
9-
npm run lint:fix # Auto-fix safe issues
10-
npm run typecheck # tsc --noEmit
11-
npm test # Unit tests (bun test)
12-
npm run test:all # Unit + integration + script tests
8+
bun run lint # ESLint (TypeScript-aware)
9+
bun run lint:fix # Auto-fix safe issues
10+
bun run typecheck # tsc --noEmit
11+
bun test # Unit tests
12+
bun run test:all # Unit + integration + script tests
1313
```
1414

1515
# Writing code
1616

1717
- Always fix TypeScript errors before considering a task done.
1818
- Never attempt to fix linting issues until the implementation is correct.
1919
- Use `import type` for type-only imports.
20-
- **MANDATORY**: After editing any `.ts` file, run `npx prettier --write <file>` to ensure consistent formatting. Or run `npm run format` to format all source files at once.
20+
- **MANDATORY**: After editing any `.ts` file, run `bunx prettier --write <file>` to ensure consistent formatting. Or run `bun run format` to format all source files at once.
2121

2222
## Commands
2323

2424
Each command lives in `src/commands/`. Commands are registered in `src/index.ts` (generated — do not edit manually).
2525

26-
To add a new command: `npm run gen:command` and follow the prompts. Then implement the logic in the generated file.
26+
To add a new command: `bun run gen:command` and follow the prompts. Then implement the logic in the generated file.
2727

2828
## Error handling
2929

0 commit comments

Comments
 (0)