Skip to content

Commit 3ce83cf

Browse files
agents: Update rules
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
1 parent 5441dd4 commit 3ce83cf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

AGENTS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ When writing code:
4646
- No docstrings unless the function is non-obvious
4747
- No comments unless explaining "why", never "what"
4848
- Prefer editing existing files over creating new ones
49+
- Use optional chaining (`?.`) when possible in typescript
50+
- Use `v-tooltip` over `title` in vue2 components
4951

5052
When explaining:
5153
- Be concise and direct
@@ -76,6 +78,8 @@ gh pr diff <number> --repo bluerobotics/BlueOS
7678
gh issue list --repo bluerobotics/BlueOS
7779
```
7880

81+
### 3. Use yarn over npm
82+
7983
## Creating a New Service
8084

8185
**Reference implementation:** [PR #3669](https://github.com/bluerobotics/BlueOS/pull/3669) (disk_usage service)

0 commit comments

Comments
 (0)