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: AGENTS.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,10 @@ We're a startup. We move fast, iterate quickly, and embrace change. When impleme
16
16
- Use early returns instead of if-else blocks for cleaner, flatter code
17
17
- Handle the errors or checks first and return early then proceed with happy path at the end of code block
18
18
19
+
**Comments:**
20
+
- Do not add comments that restate what the code already says. If a variable name, condition, or function call makes the intent clear, no comment is needed.
21
+
- Only comment to explain *why* something non-obvious is done (a constraint, a gotcha, a deliberate trade-off) — never to narrate *what* the code does line by line.
22
+
19
23
**Invariant handling:**
20
24
- Do not silently ignore impossible states (for example, no-op rollback fallbacks in mutation/cache flows)
21
25
- Fail fast with a clear thrown error message when an internal invariant is violated
Copy file name to clipboardExpand all lines: packages/extension/public/_locales/fr/messages.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"extensionName": {
3
-
"message": "daily.dev | L’actualité des développeurs comme elle devrait l’être, dans chaque nouvel onglet"
3
+
"message": "daily.dev | L’actu des devs, comme il faut, dans chaque nouvel onglet"
4
4
},
5
5
"extensionDescription": {
6
6
"message": "L’actualité des développeurs, personnalisée selon votre stack, dans chaque nouvel onglet. Rejoignez plus de 400 000 développeurs. Gratuit et open source."
0 commit comments