🔧 Update windsurfrules

This commit is contained in:
Luke Vella 2025-07-14 09:56:17 +01:00
parent 59bc38557b
commit 057025f3f8
No known key found for this signature in database
GPG key ID: 469CAD687F0D784C

View file

@ -35,8 +35,7 @@ t("menu", { defaultValue: "Menu" });
23. Never manually add translations to .json files. This will be handled by our tooling.
24. Add the "use client" directive to the top of any .tsx file that requires client-side javascript
25. i18nKeys should describe the message in camelCase. Ex. "lastUpdated": "Last Updated"
26. Keep i18nKeys up to 25 characters
27. If the i18nKey is not intended to be reused, prefix it with the component name in camelCase
28. Always use kebab-case for file names
29. Prefer double quotes for strings over single quotes
30. Only add comments when it is necessary to explain code that isn't self-explanatory
26. If the i18nKey is not intended to be reused, prefix it with the component name in camelCase
27. Always use kebab-case for file names
28. Prefer double quotes for strings over single quotes
29. Only add comments when it is necessary to explain code that isn't self-explanatory