Skip to content

Commit dc32189

Browse files
patrickelectricjoaomariolago
authored andcommitted
agents: Do not remove comments that already exist
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
1 parent 5c333ee commit dc32189

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ When writing code:
4646
- Use 120 character line length
4747
- No docstrings unless the function is non-obvious
4848
- No comments unless explaining "why", never "what"
49+
- Preserve existing comments when refactoring code. Do not delete comments from code you haven't logically changed
4950
- Prefer editing existing files over creating new ones
5051
- Use optional chaining (`?.`) when possible in typescript
5152
- Use `v-tooltip` over `title` in vue2 components

0 commit comments

Comments
 (0)