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
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,9 @@
2
2
3
3
## Code Quality
4
4
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.
6
6
7
7
## 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`.
9
9
- 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