You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,25 +5,25 @@ A CLI tool (`sonar`) that integrates SonarQube and SonarCloud into developer wor
5
5
# Running checks
6
6
7
7
```bash
8
-
npm run lint # ESLint (TypeScript-aware)
9
-
npm run lint:fix # Auto-fix safe issues
10
-
npm run typecheck # tsc --noEmit
11
-
npmtest# 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
+
buntest# Unit tests
12
+
bun run test:all # Unit + integration + script tests
13
13
```
14
14
15
15
# Writing code
16
16
17
17
- Always fix TypeScript errors before considering a task done.
18
18
- Never attempt to fix linting issues until the implementation is correct.
19
19
- 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.
21
21
22
22
## Commands
23
23
24
24
Each command lives in `src/commands/`. Commands are registered in `src/index.ts` (generated — do not edit manually).
25
25
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.
0 commit comments