Skip to content

Commit 76a32e4

Browse files
committed
Update CLAUDE.md for clarity and consistency
1 parent 7c4cd45 commit 76a32e4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CLAUDE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
## Code Quality
44
1. **Always run lint and format after every change** - This ensures code consistency and catches potential issues early.
5-
2. **TypeScript checking must pass before every commit** - Most packages have a `type-check` command that must pass before committing changes.
5+
2. **Always run TS checks after every change** - Most packages have a `type-check` command that must pass before committing changes.
66

77
## TypeScript Conventions
8-
2. **Optional fields convention**: In this codebase, whenever there's an optional field (marked with `?`), the type is always explicitly defined as `type | undefined`.
8+
1. **Optional fields convention**: In this codebase, whenever there's an optional field (marked with `?`), the type is always explicitly defined as `type | undefined`.
99
- Example: `foo?: number | undefined` (not just `foo?: number`)
10-
- You can always explicitly pass `undefined` for optional fields in this codebase
10+
- You can always explicitly pass `undefined` for optional fields in this codebase

0 commit comments

Comments
 (0)