Skip to content

Commit 95c8722

Browse files
committed
agents
1 parent bf9e422 commit 95c8722

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/BloomBrowserUI/AGENTS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ When working in the front-end, cd to src/BloomBrowserUI
2121
- Avoid removing existing comments.
2222
- Avoid adding a comment like "// add this line".
2323

24+
- For functions, prefer typescript "function" syntax over const foo = () ==> functions.
25+
- When writing less, use new css features supported by our current version of webview2. E.g. "is()".
26+
2427
- Style elements using the css macro from @emotion/react directly on the element being styled, using the css prop. E.g. `<div css={css`color:red`}>`
2528

2629
- We rarely use `null` in typescript, preferring `undefined` for values that have not been set. E.g.

0 commit comments

Comments
 (0)